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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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