Forum Discussion
Incorrect Percentage Value
- 5 years ago
StuartSmith , I created
Measure = DIVIDE([Count_Rows_Where_No_Measure],[Count_Total_Row_Measure])Marked it as % type and seems to to give the number you want
StuartSmith , first one done not have all selected
then you should try
VoWiFi % YESS = DIVIDE(CALCULATE(COUNTROWS(Services),SEARCH("Yes", Services[VoWIFI],,0)>0), CALCULATE ( COUNT ( 'Services'[VoWIFI] )))
or
VoWiFi % YESS = DIVIDE(CALCULATE(COUNTROWS(Services),SEARCH("Yes", Services[VoWIFI],,0)>0), CALCULATE ( COUNT ( 'Services'[VoWIFI] ), ALL( 'Services'[VoWIFI])))
VoWiFi % YESS = DIVIDE(CALCULATE(COUNTROWS(Services),SEARCH("Yes", Services[VoWIFI],,0)>0), CALCULATE ( COUNT ( 'Services'[VoWIFI] ), ALLSELECTED ( 'Services'[VoWIFI])))
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
- StuartSmith5 years agoPower Participant
Neither of the below changed the result.
Find below a sample file...
https://www.dropbox.com/s/kwhnnio9q2lceu8/Sample.pbix?dl=0
- amitchandak5 years agoSuper User
StuartSmith , I created
Measure = DIVIDE([Count_Rows_Where_No_Measure],[Count_Total_Row_Measure])Marked it as % type and seems to to give the number you want