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

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.

Reply
dcadwallader
Helper I
Helper I

Percentage Calc Not Displaying - Not Sure Why

Morning,

I am using the below calc to show the prevalence of one value, within a set of another values.

For example, if I visit ten houses over the year and find five of these items, my prevalence rate for the year should be 50%.

 

The calc appears to work but when I drag it onto the graph to display as Line Value I get a "Can't Display the Visual Error".

 

As you can see I'm simply "Sum"-ing the column "Sev1 Sum Post Appeal" and getting that Sum Total to appear as a percentage of the total rows (one row = one property visited).

 

Any ideas?

 

Calc Overall Inspection Result Sev1 Prevalence =
DIVIDE(
COUNTROWS('EXTRACT') ,
SUM('EXTRACT'[Sev1 Sum Post Appeal]) ,
BLANK()
)
 
 
2 ACCEPTED SOLUTIONS
amitchandak
Super User
Super User

@dcadwallader , there should option to check details. Open that and check I doubt either group by is not applicable or this column : [Sev1 Sum Post Appeal] is text or have som issue

View solution in original post

ValtteriN
Super User
Super User

Hi,

Like Amit mentioned it is likely caused by data type error or a problem with grouping. When I re-created you measure it work fine with my sample data:

ValtteriN_0-1641466775884.png

 





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

Proud to be a Super User!




View solution in original post

3 REPLIES 3
dcadwallader
Helper I
Helper I

Thanks so much folks!

Can't believe I missed that one - I'm going to blame that one on this morning's early start!

ValtteriN
Super User
Super User

Hi,

Like Amit mentioned it is likely caused by data type error or a problem with grouping. When I re-created you measure it work fine with my sample data:

ValtteriN_0-1641466775884.png

 





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

Proud to be a Super User!




amitchandak
Super User
Super User

@dcadwallader , there should option to check details. Open that and check I doubt either group by is not applicable or this column : [Sev1 Sum Post Appeal] is text or have som issue

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors