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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount 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
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors
Top Kudoed Authors