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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

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

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.