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
All,
I was working with sync slicers (i.e. global slicer for all pages in the entire report) in Power BI. I was filtering data based on the slicers. Due to the blank value, I cannot get the selected slicer data into the card value. As an example, I've added a Card to display chosen values in the header.
But there is no data; it is showing "(Blank)," but I want to show a selected value in the card.
Please see the attached screenshots for further information where I have added a page-level filter to "Page 1" and am choosing a value from the "Selection" page.
Download the PBIX file from the attached link : Selection.pbix
Hey @jaypatel ,
this will not work, you need a proper star schema, as you are using a page filter.
For this reason "Family4" will be filtered out, meaning you can not extract the selected item from synched slicer.
As long as Name and Title are in the same table your Card visual will always be blank: This si due to a concept called AutoExist. I recommend reading this article: Understanding DAX Auto-Exist - SQLBI
Regards,
Tom
ily and Item
Hey @jaypatel ,
I always use a measure to visualze selections from a slicer in combination with a card visual. This is the DAX measure:
vizAid SelectedColorName =
IF( ISFILTERED( 'DimProduct'[ColorName] )
, CONCATENATEX(
VALUES( DimProduct[ColorName] )
, [ColorName]
, ", "
, [ColorName]
, ASC
)
, "No colors selected (ALL)"
)
The next picture shows the result, if no color is filtered (left), and if multiple colors are filtered (right)
Please be aware that this does not replace the synch of slicers.
Hopefully, this provides a new idea on how to tackle your challenge.
Regards,
Tom
>> Measure = IF(SELECTEDVALUE(Card[Column])=Blank(),SELECTEDVALUE(Slicer[Column]))
** I hope this post helps you.
**If this post helps, please consider accept as solution to help other members find it more quickly and Appreciate your Kudos.
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 | |
90 | |
88 | |
64 | |
58 |
User | Count |
---|---|
203 | |
141 | |
107 | |
73 | |
70 |