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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

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
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.

Power BI Header Change

Power BI Header Update

Read about the exciting updates for the Power BI forum.