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
I posted about this problem in another post and found a work-around but could really do with understanding this properly.
When I create a calculation group, use that calculation group in a slicer and select a single value, the result of other measures are overwritten even if they are totally unconnected.
You can see this yourself by looking at this demo report:
Can anyone explain what I'm misunderstanding or doing wrong?
Solved! Go to Solution.
This is expected behaviour. The slicer will apply to all visuals on the page unless you turn it off through Edit Interactions. Calculation items are applied to all measures, and so when you choose one in the slicer it will be applied to the test measure.
You can change which measures the calcultion item affect by putting checks in the calc item code using functions like SELECTEDMEASURENAME or ISSELECTEDMEASURE.
This is expected behaviour. The slicer will apply to all visuals on the page unless you turn it off through Edit Interactions. Calculation items are applied to all measures, and so when you choose one in the slicer it will be applied to the test measure.
You can change which measures the calcultion item affect by putting checks in the calc item code using functions like SELECTEDMEASURENAME or ISSELECTEDMEASURE.
Perfect. That's what I was missing.
I can now limit the scope of my calculated items. I've used code similar to the following:
hi @mikemagill ,
Remove the filter interaction as shown below:
1. select the calc group slicer
2. click on format
3. click on edit interactions
4. click on "None" on the top right of the card.
is this the intended result?
if this doesn't resolve the issue. kindly elaborate on the required output
Thanks. The edit interactions option is helpful but Johnt75 has a more complete solution. The problem with edit interactions is where you have a visual with a header based on a measure but you still want the visual to respond to the slicer.
Thanks again, though.
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 |
---|---|
133 | |
91 | |
88 | |
64 | |
58 |
User | Count |
---|---|
201 | |
137 | |
107 | |
73 | |
68 |