Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello!
I have a table with three columns, as the image shows.
I want to make a DAX formula that i can put into a visual that divides the values corresponding to actual to the values corresponding to budget. Something like if column "Atributte" = Actual, then sum. And if column "Atributte" = Budget, sum. Then divide those two values so it corresponds to each row and topic on my table.
Hi,
Please check the below picture and the attached pbix file.
Actual divide by Bugdet: =
VAR _actual =
CALCULATE ( SUM ( Data[Values] ), Data[Attribute] = "Actual" )
VAR _budget =
CALCULATE ( SUM ( Data[Values] ), Data[Attribute] = "Budget" )
RETURN
DIVIDE ( _actual, _budget )
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
23 | |
10 | |
10 | |
9 | |
7 |