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
WasmerL
Frequent Visitor

Calculating percentage in Drillthrough

Hello Community,

I want to display the percentage of a drill-through value to the Total Sum of the column in a Visual card.

My main table looks like this:

WasmerL_0-1637762733387.png

My drillthrough looks like this:

WasmerL_1-1637762772187.png

My aim is to display the red underlined value in a card visual in the drillthrough page. I just can´t find a way to get the value of the Column "Sum Total" in the Drillthrough and divide it with the total sum of the Column "sum total"...

 

Thank you in advance!

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@WasmerL ,

 

Create a measure like below, assume sum total is a measure

 

% =  divide([Sum Total], calculate([Sum Total], all()) )

View solution in original post

2 REPLIES 2
WasmerL
Frequent Visitor

Hello @amitchandak

It worked, thank you.

amitchandak
Super User
Super User

@WasmerL ,

 

Create a measure like below, assume sum total is a measure

 

% =  divide([Sum Total], calculate([Sum Total], all()) )

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.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

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.