The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event! Join us in Stockholm, Sweden from September 24-27, 2024.
2-for-1 sale on June 20 only!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hi all
I have created a variance measure but want one of the variables to be a value from a slicer (multi select)
is this possible?
Solved! Go to Solution.
Hi @Benjamin123 ,
You will need to create an independent version table as slicer.
Variance = CALCULATE(sum(DataFlip[Value]),filter(DataFlip,DataFlip[Version]in values(slicer[version])))
If I misunderstood your meaning, please show some sample data and expected result.
Best Regards,
Jay
@Benjamin123 , If you need a measure as slicer, You need create an independent table with all possible values or based on range.
find the example of range. In case of each value, you need to have all values and = join with an independent table
Dynamic Segmentation Bucketing Binning
https://community.powerbi.com/t5/Quick-Measures-Gallery/Dynamic-Segmentation-Bucketing-Binning/m-p/1...
Dynamic Segmentation, Bucketing or Binning: https://youtu.be/CuczXPj0N-k
Hey @amitchandak thanks alot for the reply!
Apologies but I don't think I explained myself very well... I am using the following to create a variance, however I am using a slicer on the report which I would like to overide the latter part of the formula (P8 Latest View)
Is there a way to change this part of the formula to select the value from the filter that isnot "Latest View"?
Hi @Benjamin123 ,
You will need to create an independent version table as slicer.
Variance = CALCULATE(sum(DataFlip[Value]),filter(DataFlip,DataFlip[Version]in values(slicer[version])))
If I misunderstood your meaning, please show some sample data and expected result.
Best Regards,
Jay
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 June 2024 Power BI update to learn about new features.
User | Count |
---|---|
102 | |
97 | |
80 | |
62 | |
57 |
User | Count |
---|---|
264 | |
120 | |
115 | |
83 | |
70 |