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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
abatahir1
Frequent Visitor

Measure Divide with Measure

I have measure A based on column x, and measure B based on column B. 

I want to get the %age of each item in visual for measure B with the total of Measure A. 

 

4 REPLIES 4
Anonymous
Not applicable

Hi, @abatahir1 

 

Have you solved your problem yet? If not resolved, can you provide example data and your desired output?

How to provide sample data in the Power BI Forum - Microsoft Fabric Community

 

Best Regards,

Community Support Team _Charlotte

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

danextian
Super User
Super User

Hi @abatahir1 

 

Try this:

DIVIDE ( [Measure B], CALCULATE ( [Measure A], ALLSELECTED () ) )

This will divide the row value of Measure B for the column/columns added to the visual by the total row value of Measure A.





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

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


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

This removes MTD filter from the measure, May be this is because the date selection also in the same column

girishthimmaiah
Resolver I
Resolver I

PercentageMeasure =
DIVIDE(
[Measure B],
CALCULATE([Measure A], ALLSELECTED(TableName))
)

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.