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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

Reply
Anonymous
Not applicable

Calculation in a Column - with/without slicer

Hello,

 

I've seen  lots of similar new messages lately but couldn't find a solution to my problem.

 

Im gonna share three screenshots about the issue.

 

PB1 screenshot - column "% gerceklesen" simply calculates column "A" / column "B"

column "C" or "Ay" as the name seen there represents month;

 

PB2 screenshot - there i focus on visualization in gauge format, the one with % symbol. (%76,9 corresponds to month "ocak+subat" value.)  Months are in slicer with local names (turkish);

 

PB3 screenshot - there, in slicer no specific month selected, all values come with sum of relevant columns; in gauge, it seems %159,4, sum of first two rows. But i simply need the total sum column A / total sum column B as percentage, which should be %80,3

 

I hope it's clear enough.

 pb1.pngpb2.pngpb3.png

 

Thanks,

Caglar

1 ACCEPTED SOLUTION
MFelix
Super User
Super User

HI @Anonymous,

 

Create a measure that calculates both value and not a colum as you can see below it works fine:

 

Measure % Ger = DIVIDE(SUM(Sats[Total TEU Gerçekleçen]),SUM(Sats[Total TEU Hedeflenen]))

Percentage.png

 

 

Regars,

MFelix

 

 


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



View solution in original post

2 REPLIES 2
MFelix
Super User
Super User

HI @Anonymous,

 

Create a measure that calculates both value and not a colum as you can see below it works fine:

 

Measure % Ger = DIVIDE(SUM(Sats[Total TEU Gerçekleçen]),SUM(Sats[Total TEU Hedeflenen]))

Percentage.png

 

 

Regars,

MFelix

 

 


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



Anonymous
Not applicable

Thanks a lot! It worked like magic. As a beginner level power BI user, that was exciting to use measure 🙂

Helpful resources

Announcements
March PBI video - carousel

Power BI Monthly Update - March 2025

Check out the March 2025 Power BI update to learn about new features.

March2025 Carousel

Fabric Community Update - March 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors
Top Kudoed Authors