March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi all!
I hace tw columns:
Column 1 = USD Value
Column 2 = Text with two values
I need a measure that calculates the percentage of each USD Value of Column 1 but selecting only the rows that in Column 2 has certain text value.
Actually I am using:
Hi @Anonymous
Not clear the result you want. You may take steps bellow for reference.
Create the measure:
Measure 2 = DIVIDE(SELECTEDVALUE('Table'[Column1]),CALCULATE(SUM('Table'[Column1]),FILTER(ALL('Table'),'Table'[Column2]=SELECTEDVALUE('Table'[Column2]))),0)
result:
Hope it helps.
Best Regards,
Community Support Team _ Tang
If this post helps, please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous
Do you want to show some sample data plus the expected result?
Your explanation is not clear
|
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 MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
123 | |
85 | |
85 | |
70 | |
51 |
User | Count |
---|---|
205 | |
153 | |
97 | |
79 | |
69 |