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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
qwerttty
Helper I
Helper I

Measure data in calendar

Hi community, 

 

I was wondering how to show the count of the text in the table for either 0 or 1. This seems a really easy task but it does not work.

 

Let me explain in example

qwerttty_0-1694616503769.png

 

In the calendar for 10/9, it should shown 1 for the value which means at that day, there have false in the category. 

All true then 0, if one true and other false should result as 1. 

But the calendar shown the count of the final result. 

 

qwerttty_2-1694616628764.png

Do you have a solution to this issue ?

 

Many thanks

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @qwerttty ,

 

You're trying to group by directory, right?

As I said earlier, if you place the matrix, you are counting this column, so the result is not what you expect. You need to use the [Final Result] field and choose how the minimum value is aggregated.

62.png

65.png

63.png

64.png

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.           

View solution in original post

5 REPLIES 5
Anonymous
Not applicable

Hi @qwerttty ,

 

If you want to group by date, return True or False, you can try creating a calculated column as follows.

Final Result(T/F) = 
VAR _SUM=CALCULATE(SUM('Table'[Final Result]),FILTER('Table',[Date]=EARLIER('Table'[Date])))
RETURN IF(_SUM=0,TRUE(),FALSE())

vstephenmsft_0-1695027421416.png

And based on my test, for these custom calendar visuals, for measures that return True or False, by default there are only two aggregation methods: "Count (Distinct)" and "Count".

vstephenmsft_1-1695027879675.png

As a workaround, you can put a number type column of 1 or 0 in the calendar visual, and then select the maximum value for the aggregation type. This will achieve the effect of displaying 1 or 0.

vstephenmsft_2-1695028239003.png

88.png

 

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.           

Hi @Anonymous ,

 

Would there any method to filter by the category also? 

qwerttty_0-1695029692947.png

And when the Ch4 is True, in the selection of date filter 10 Sep, the matrix shown true, and for other Ch shown false?

qwerttty_1-1695029813916.png

 

Kind regards. 

Anonymous
Not applicable

Hi @qwerttty ,

 

You're trying to group by directory, right?

As I said earlier, if you place the matrix, you are counting this column, so the result is not what you expect. You need to use the [Final Result] field and choose how the minimum value is aggregated.

62.png

65.png

63.png

64.png

 

Best Regards,

Stephen Tao

 

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

@qwerttty , check if this can help

Power BI Matrix as Calendar Display & Conditional formatting: https://youtu.be/O93dTEt24ZE

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

Hi @amitchandak ,

 

I was trying the method that you recommend. 

 

I'm using the data stated below. 

qwerttty_2-1694675130301.png

With the matrix calendar, the final result (T/F) should shown in true, and the final result should shown in 0. 

However, from the matrix for calendar, it does not shown what i want. 

qwerttty_1-1694675023230.png

Do you have a solution to this issue ?

 

Many thanks

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

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.

Top Solution Authors