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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Hakimi99999
New Member

Daily Rate Calculation

IDDateDayIsGood
11/1/2018MondayTRUE
21/1/2018MondayTRUE
31/1/2018MondayTRUE
41/2/2018TuesdayTRUE
51/3/2018WednesdayTRUE
61/3/2018WednesdayTRUE
11/4/2018ThursdayTRUE
21/5/2018FridayFALSE
31/5/2018FridayTRUE
91/5/2018FridayFALSE
101/6/2018SaturdayTRUE
111/7/2018SundayFALSE
121/7/2018SundayTRUE
131/8/2018MondayFALSE
141/9/2018TuesdayTRUE

 

Hi I am looking for some help, if I want to calculate daily good rate( Daily True/ Dail True and False) , how do I create measure?

1 ACCEPTED SOLUTION
MFelix
Super User
Super User

Hi @Hakimi99999,

 

Try this calcultated measure:

 

 

Daily good rate =
CALCULATE ( COUNTA ( DailyData[IsGood] ); DailyData[IsGood] = TRUE () )
    / CALCULATE ( COUNTA ( DailyData[IsGood] ); ALLSELECTED ( DailyData[IsGood] ) )

As you can see below it will give you the percentage on the selected date:

 

dailytrye.png

Regards,

MFelix


Regards

Miguel Félix


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

Proud to be a Super User!

Check out my blog: Power BI em Português





View solution in original post

1 REPLY 1
MFelix
Super User
Super User

Hi @Hakimi99999,

 

Try this calcultated measure:

 

 

Daily good rate =
CALCULATE ( COUNTA ( DailyData[IsGood] ); DailyData[IsGood] = TRUE () )
    / CALCULATE ( COUNTA ( DailyData[IsGood] ); ALLSELECTED ( DailyData[IsGood] ) )

As you can see below it will give you the percentage on the selected date:

 

dailytrye.png

Regards,

MFelix


Regards

Miguel Félix


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

Proud to be a Super User!

Check out my blog: Power BI em Português





Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 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.