Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Syndicate_Admin
Administrator
Administrator

Calendar display

Hello community

I have a table of 3 columns (date, variable, description)

I need to display the days, only in numbers, on a chess board and have each square painted a specific color according to the values of the variable (true false)

I try to do it with a calendar display but it places me on day 1 according to the day of the week and I need to locate it first without needing to know if it is Monday Tuesday, etc ...

Is there any way to do it?

Thank you very much now

1 ACCEPTED SOLUTION

@Syndicate_Admin , There are a couple of custom visuals

https://appsource.microsoft.com/en-us/product/power-bi-visuals/wa104380905?tab=overview

https://appsource.microsoft.com/en-us/product/power-bi-visuals/wa104381179?tab=overview

Another option is to

Create these columns in the table

col ?

was _1 per cociente(day([date]),7)

Return

if(_1 to 0.7,_1)

fila - mod(day([date]),7)+1

User row as row or matrix and Col as array column.

You can do conditional formatting using a color measure

Examples

if(FIRSTNONBLANK('Table'[Value],"true")= "true","green","red")

if(FIRSTNONBLANK(date[date],blank())= today(),"green","red")
if(max(date[date])= tofay(),"green","red")

Colour = 
SWITCH(TRUE(),
'Table'[Date] < TODAY(), "red",
'Table'[Date] = TODAY(), "orange",
"green")

Color Field - Color Measurement - Conditional Formatting
https://radacad.com/dax-and-conditional-formatting-better-together-find-the-biggest-and-smallest-num...
https://docs.microsoft.com/en-us/power-bi/desktop-conditional-table-formatting#color-by-color-values
https://youtu.be/M5PvQUy-L_4?t=531

Can you share sample data and sample output in table format? Or a sample of pbix after deleting sensitive data.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

5 REPLIES 5
v-yingjl
Community Support
Community Support

Hi @Syndicate_Admin ,

You can try to use 'Calendar by Tallan' custom visual and define the color format:

color.png

 

Best Regards,
Community Support Team _ Yingjie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

@Syndicate_Admin , The information you have provided is not making the problem clear to me. Can you please explain with an example.

 

You can have new columns

 

Week Day = weekday([Date],1) //Sunday Week

Week Day = weekday([Date],2) //Monday Week

Appreciate your Kudos.


Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

20210121_030115.jpg

I want to visualize it this way, and to each square (day) give it a background of green(true) or red (false) based on the data loaded in the variable column

You can try using "Beyond Soft Calendar"  from Marketplace but this will work with a single month only. 







Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!

Proud to be a Super User!




@Syndicate_Admin , There are a couple of custom visuals

https://appsource.microsoft.com/en-us/product/power-bi-visuals/wa104380905?tab=overview

https://appsource.microsoft.com/en-us/product/power-bi-visuals/wa104381179?tab=overview

Another option is to

Create these columns in the table

col ?

was _1 per cociente(day([date]),7)

Return

if(_1 to 0.7,_1)

fila - mod(day([date]),7)+1

User row as row or matrix and Col as array column.

You can do conditional formatting using a color measure

Examples

if(FIRSTNONBLANK('Table'[Value],"true")= "true","green","red")

if(FIRSTNONBLANK(date[date],blank())= today(),"green","red")
if(max(date[date])= tofay(),"green","red")

Colour = 
SWITCH(TRUE(),
'Table'[Date] < TODAY(), "red",
'Table'[Date] = TODAY(), "orange",
"green")

Color Field - Color Measurement - Conditional Formatting
https://radacad.com/dax-and-conditional-formatting-better-together-find-the-biggest-and-smallest-num...
https://docs.microsoft.com/en-us/power-bi/desktop-conditional-table-formatting#color-by-color-values
https://youtu.be/M5PvQUy-L_4?t=531

Can you share sample data and sample output in table format? Or a sample of pbix after deleting sensitive data.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.