The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hello all,
I am trying to create a measure that will be a constant value that wont be affected by slicing.
the measure currently is
Solved! Go to Solution.
hi @Anonymous
not clearly understand but you can use
SalesIsLatest = CALCULATE(SUM(Metrics[Sales]),Metrics[islatest] =1, ALL(Metrics))
there will be SUM() by whole amount of data and it will the same in any case
also you can use the simple
SalesIsLatest = 20
hi @Anonymous
not clearly understand but you can use
SalesIsLatest = CALCULATE(SUM(Metrics[Sales]),Metrics[islatest] =1, ALL(Metrics))
there will be SUM() by whole amount of data and it will the same in any case
also you can use the simple
SalesIsLatest = 20
Briiliant this resolved the issue I had, as I calculated a total percentage, but when clicking on a filter it kept staying as 100% until I used the all function.
So I now get a total for 100% and percetanges when a filter is clicked on.
Thanks you so much for your help - as even Chat GBT did not bring this answer...
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
118 | |
87 | |
75 | |
53 | |
45 |
User | Count |
---|---|
135 | |
121 | |
77 | |
65 | |
64 |