Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
I have created a new measure like this:
Solved! Go to Solution.
Using your existing measure [ArchiveTotal]:
NewMeasure =
VAR usedAmount_ = SUM(Summaries[UsedAmount])
RETURN
DIVIDE(usedAmount_, [ArchiveTotal])
|
Please accept the solution when done and consider giving a thumbs up if posts are helpful. Contact me privately for support with any larger-scale BI needs, tutoring, etc. |
Hi @Markzolotoy ,
Column names alone cannot be displayed in the measure, you need to bring the column names into the formula, you can try the following code:
_ FreeAmount=divide(sum(Summaries[FreeAmount]),[ArchiveTotal])
_ UsedAmount=divide(sum(Summaries[UsedAmount]),[ArchiveTotal])
Best Regards!
Yolo Zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Markzolotoy ,
Column names alone cannot be displayed in the measure, you need to bring the column names into the formula, you can try the following code:
_ FreeAmount=divide(sum(Summaries[FreeAmount]),[ArchiveTotal])
_ UsedAmount=divide(sum(Summaries[UsedAmount]),[ArchiveTotal])
Best Regards!
Yolo Zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Using your existing measure [ArchiveTotal]:
NewMeasure =
VAR usedAmount_ = SUM(Summaries[UsedAmount])
RETURN
DIVIDE(usedAmount_, [ArchiveTotal])
|
Please accept the solution when done and consider giving a thumbs up if posts are helpful. Contact me privately for support with any larger-scale BI needs, tutoring, etc. |
@AlB Here is my table:
I want to create a new measure = UsedAmount * 100 / ArchiveTotal
where ArchiveTotal =
Hi @Markzolotoy
What do you mean by "two other columns are not even available"
Can you show the exact code you are using to calculate the percentages? And the result you are getting vs the desired one?
Showing a sample of the table(s) would also help
|
Please accept the solution when done and consider giving a thumbs up if posts are helpful. Contact me privately for support with any larger-scale BI needs, tutoring, etc. |
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
84 | |
79 | |
63 | |
51 | |
30 |
User | Count |
---|---|
115 | |
114 | |
71 | |
66 | |
39 |