Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
TaroGulati
Helper II
Helper II

Show only no blank values in card

Hi everyone, 

 

I want to show the available values in the slicer which has some values in fact. 

 

I have one dimension table and one fact table. Relation is one to many. As you can see category D has no values. In the text box below I want to shows only those category which has some values. 

 

TaroGulati_0-1667379995000.png

This is the measure that i am using: 

Filter =
UNICHAR ( 10 ) & " Category: "
&CALCULATE(CONCATENATEX ( VALUES(Dim[Category1]),Dim[Category1],", "))
 
do you have any suggestion how to exclude category D from the list?
 
Thanks
1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@TaroGulati , using value measure

 

CALCULATE(CONCATENATEX ( filter(VALUES(Dim[Category1]),  not(isblank([Value])) ),  Dim[Category1],", "))

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@TaroGulati , using value measure

 

CALCULATE(CONCATENATEX ( filter(VALUES(Dim[Category1]),  not(isblank([Value])) ),  Dim[Category1],", "))

@amitchandak perfect, it works

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.