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
Anonymous
Not applicable

In what cases power bi don't show us percentage total in matrix?

I want to default the percentage total to 100% but power bi itself is not giving me any total. This field is frequency % of some values that may occur multiple times and in each column they are present they have the same occurance %.

shivam_0-1663566719148.png

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Anonymous , Share your formula, you might be using row context. You can change the total using isfiltered, hasonevalue or isinscope

 

https://www.kasperonbi.com/use-isinscope-to-get-the-right-hierarchy-level-in-dax/

https://powerpivotpro.com/2013/03/hasonevalue-vs-isfiltered-vs-hasonefilter/

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@Anonymous , Share your formula, you might be using row context. You can change the total using isfiltered, hasonevalue or isinscope

 

https://www.kasperonbi.com/use-isinscope-to-get-the-right-hierarchy-level-in-dax/

https://powerpivotpro.com/2013/03/hasonevalue-vs-isfiltered-vs-hasonefilter/

Anonymous
Not applicable

Hi @amitchandak ,
I am getting no total value showed up and I am using this formula:

Problem Occurence % =
DIVIDE (
[# of Problem Occurence],
CALCULATE (
COUNTA ( FactTable[Problem] ),
ALLSELECTED ( 'FactTable' )
)
)

# of Problem Occurence =
VAR __selectedProblem = SELECTEDVALUE ( FactTable[Problem] )
RETURN
CALCULATE (
COUNTA ( FactTable[Problem] ),
ALLSELECTED ( 'FactTable' ),
FactTable[Problem] = __selectedProblem
)

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.