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
sanjanarama
Resolver I
Resolver I

slicer selection result

I have a dropdown slicer for activity column. if any activity is selected then results should be displayed based on column "Part one" column.

 

ThreatNodeActivityPart OnePart TwoPart Three
Area OneDownName 1 Base Management 
Area OneDownName 2Base ManagementProduction ShopFlow Assurance
Area OneUpName 3 Production ShopBase Management
Area OneUpName 4 Production ShopProcess Engineer
Area OneUpName 5 Flow AssuranceProduction Shop
Area OneLeftName 6 Production ShopFlow Assurance
Area OneLeftName 7 Production ShopFlow Assurance
RoadRightName 8 Base ManagementProduction Shop
RoadRightName 9Base ManagementGatewayFlow Assurance
Upper DeckRightName 10 Base ManagementProduction Shop
Upper DeckRightName 11Base ManagementProduction ChemistProcess Engineer



for example. 
if activity "Name 1" is selected , corresponding "part one" value is blank, the result should display as "no results"

sanjanarama_1-1651845857410.png

 


if  activity "Name 2" is selected , corresponding "part one" value is "Base Management"/ any value in it, the result should display as table of its value

sanjanarama_0-1651845797512.png

 

1 ACCEPTED SOLUTION

Hello @sanjanarama ,


I dont think that will be acheivable directly.

Though you can try workaround-

 

Apply visual level filter on visual as Part One not equals to Blank.

 

Try to create a measure as below, add it into card visual and place it behind table visual keeping table visual backgournd as off.

 

 

Measure = if(HASONEVALUE(Data[Part One]) && min(Data[Part One])= BLANK(),"No Results as Part one is blank","")

 


Turn off the Category label to off and place this card visual behind table visual.

 

Cheers,
Shishir

View solution in original post

4 REPLIES 4
Shishir22
Solution Sage
Solution Sage

Hello @sanjanarama ,


As per my understanding from above post you are getting blank for Part One and you want to replace it with "No Results"

Use below calculated column in place of Part One.

 

Column = if(ISBLANK(Data[Part One]),"No Result",Data[Part One])

 

Please mark it as solution if it resolves your issue. Kudos are also appreciated.

 

Cheers,

Shishir

Cheers,
Shishir

@Shishir22 no, i have edited my requirements. please view that again and help me

Hello @sanjanarama ,


I dont think that will be acheivable directly.

Though you can try workaround-

 

Apply visual level filter on visual as Part One not equals to Blank.

 

Try to create a measure as below, add it into card visual and place it behind table visual keeping table visual backgournd as off.

 

 

Measure = if(HASONEVALUE(Data[Part One]) && min(Data[Part One])= BLANK(),"No Results as Part one is blank","")

 


Turn off the Category label to off and place this card visual behind table visual.

 

Cheers,
Shishir

thank you. it worked

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.