cancel
Showing results 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

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:

My drillthrough looks like this:

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"...

1 ACCEPTED SOLUTION
Super User

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

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

2 REPLIES 2
Frequent Visitor

Hello @amitchandak

It worked, thank you.

Super User

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

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

Announcements

#### 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.

#### Power BI Monthly Update - February 2024

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

#### Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

#### Microsoft Fabric Partner Community

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

Top Solution Authors
Top Kudoed Authors