Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi gurus,
May I request for some help to get the comply percentage where <15 minutes is comply and >15 minutes is not comply. If I use excel the formula would be like this in excel and in the dashboard I only want to show comply percent based on month and section.
The output will be like this where the month is the slicer in power bi.
Thank you in advance for your help.
Solved! Go to Solution.
Hi @Anonymous ,
According to your description, you want to get the ”%” of each region where the Follow up time= “<15 Minutes”.
Pleasure try to create a measure:
Comply(%) =
VAR _sum =
CALCULATE (
SUM ( 'Table'[Count of Status] ),
FILTER (
'Table',
'Table'[Follow up time] = "<15 Minutes"
&& 'Table'[Region] = MAX ( 'Table'[Region] )
)
)
VAR _total =
CALCULATE (
SUM ( 'Table'[Count of Status] ),
FILTER ( 'Table', 'Table'[Region] = MAX ( 'Table'[Region] ) )
)
RETURN
DIVIDE ( _sum, _total )
Output:
Best Regards,
Jinwei Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
According to your description, you want to get the ”%” of each region where the Follow up time= “<15 Minutes”.
Pleasure try to create a measure:
Comply(%) =
VAR _sum =
CALCULATE (
SUM ( 'Table'[Count of Status] ),
FILTER (
'Table',
'Table'[Follow up time] = "<15 Minutes"
&& 'Table'[Region] = MAX ( 'Table'[Region] )
)
)
VAR _total =
CALCULATE (
SUM ( 'Table'[Count of Status] ),
FILTER ( 'Table', 'Table'[Region] = MAX ( 'Table'[Region] ) )
)
RETURN
DIVIDE ( _sum, _total )
Output:
Best Regards,
Jinwei Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thank you so much.. Very appreciate it so much.. Hope you have the nice day.
Hi @Anonymous ,
Create a column and use this formula:
Status = If(Follow_up_time ="<15 minutes", "Comply","Not Comply")
create another column:
Result = calculate((count_of_status/500)*100, filter(tablename, Status="Comply"))
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
99 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
102 | |
88 | |
63 |