![IMPORTANT]
Pre-requisite : List setup before creating a calendar view and applying a JSON formatting
Before creating a new calendar view, a list should include all the required columns to be used in any JSON formatting.
After creating a calendar view, if more columns are required, go to the List Settings page to create and add them to a calendar view.
Conditional view formatting based on a specific column
The following image shows an example of conditional formatting applied to a calendar view, based on a single choice column named PROJECT:
![NOTE]
Before creating a new calendar view, make sure the PROJECT column is already existing to apply the JSON code illustrated below. Alternatively, go the List Settings page to create and add the single choice PROJECT column to a calendar view.
In this example, PROJECT column has the following options:
Project A
Project B
Project C
Project D
Project E
The JSON code below makes use of SharePoint Online Modern UI classes to apply colors, borders and a hover effect through the Excel-style expression syntax:
Power Apps model-driven apps implement a consistent user experience. A key component of that experience is how users are presented and can interact with available commands. As part of designing the model-driven app, a maker can customize the bars to add commands, hide commands and modify their behavior. This learning path introduces you to how to customize the command bar. We also cover common scenarios and advanced concepts.