Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register 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.Selection Page - Global Slicer
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.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
60 | |
58 | |
54 | |
36 | |
33 |
User | Count |
---|---|
79 | |
66 | |
45 | |
45 | |
43 |