The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hey @sudhav
I have recreated your scenario using sample data
You can modify below measure according to your data
Total Sales =
CALCULATE(
SUM(financials[ Sales]),
ALL(Manufacturer[Segment]),
ALL('Product'[Product]),
ALL(financials[Date])
)
By using this measure the slicer plotted using Manufacturer[Segment], Product'[Product] and financials[Date] column will not affect the card visual.
In your scenario you using following measure
sumofrevenue =
CALCULATE(
SUM(Sales[Revenue]),
ALL('Sales'[Date]),
ALL('Manufacturer'[ManufacturerID]),
ALL('Product'[ProductID])
)
If this helps you, please kudo this post and accept it as a solution so that others can find it quickly while facing a similar issue. Thank You!
@sudhav If I understand correctly and if you want the country slicer to apply filtering only on the card visual but not the remaining slicers, you should probably using the Edit interaction function that you do not prefer using to disable the interactions between different slicers.
Alternatively, as per your requirement, you may construct four additional STANDALONE calculated tables (i.e. no relationships between any other tables), and then use them in your slicers and DAX.
Hey @sudhav
Can you please share your sample dataset and measure you are plotting.
please write some DAX for that test measure
Hey @sudhav
I have recreated your scenario using sample data
You can modify below measure according to your data
Total Sales =
CALCULATE(
SUM(financials[ Sales]),
ALL(Manufacturer[Segment]),
ALL('Product'[Product]),
ALL(financials[Date])
)
By using this measure the slicer plotted using Manufacturer[Segment], Product'[Product] and financials[Date] column will not affect the card visual.
In your scenario you using following measure
sumofrevenue =
CALCULATE(
SUM(Sales[Revenue]),
ALL('Sales'[Date]),
ALL('Manufacturer'[ManufacturerID]),
ALL('Product'[ProductID])
)
If this helps you, please kudo this post and accept it as a solution so that others can find it quickly while facing a similar issue. Thank You!
Great, thankyou so much. its working