cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
NewbieJono
Post Patron
Post Patron

Drill through

i have a table with transaction, volume, stream (Digital, Manual, intermidate)

 

i have dax to show percentage of each. but i mainly want to focus on digital.

 

My matrix table shows transaction, and digital percent.

 

when i drill through to transaction detail, the digital percent is alway 100 percent. it does not seem to be taking into account the other stream volumes Digital, Manual, intermidate)

 

% Digital = 

VAR Total = sum('FACT - Transactions'[Volume])
VAR Digital = [Digital Volume]

Return

DIVIDE(Digital,Total,"-")
1 ACCEPTED SOLUTION
PC2790
Community Champion
Community Champion

Hey @NewbieJono ,

 

For getting the "Total" to be used as a denominator in the DIVIDE dax, you would need to use ALL in order to remove the filters applied. You can try:

var Total = Calculate(Sum('FACT - Transactions'[Volume]),ALL(Stream[ColumnName])) 

View solution in original post

1 REPLY 1
PC2790
Community Champion
Community Champion

Hey @NewbieJono ,

 

For getting the "Total" to be used as a denominator in the DIVIDE dax, you would need to use ALL in order to remove the filters applied. You can try:

var Total = Calculate(Sum('FACT - Transactions'[Volume]),ALL(Stream[ColumnName])) 

Helpful resources

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors