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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
PuddleRunna
Advocate I
Advocate I

Show Slicer value or empty in a column

Hi guys,

 

I'm stuck on this one, maybe someone can point me in the right direction.

 

I have a visualized table based on filters set for the page.

Now for this specific set of data I want to be able to see if they have a specific software assigned. That data is available as text in SoftwareAssignment[SoftwarePackage].

I have created a new column "Check Package" as 

Check Package = IF([SoftwarePackage]="Software 1",[SoftwarePackage],"")
It does exactly what I want it to do. It keeps the original data and displays who has it assigned and who doesn't (as empty):
 
Column AColumn BCheck Package
Functional14.04.2021 03:01 
Functional14.04.2021 03:01 
Functional14.04.2021 03:01Software Package 1
Functional25.03.2021 11:54 
Functional25.03.2021 11:54Software Package 1
Functional14.04.2021 03:01 

 

So far so good, I have like 300 Software Packages though, so I need this to be flexible and be able to quickly filter for Software 2 etc.

Sooo, after browsing the net for ages and not finding that ONE solution to my scenario, I have done the following:

1. Put a Slicer on "SoftwareAssignment"[SoftwarePackage]

2. Created a Measure 

Slicer Selection = SELECTEDVALUE(SoftwareAssignment[SoftwarePackage])
(Can't remember anymore why I did that exactly, but it seems to have helped 🙈)
3. Changed "Check Package" to this: 

Check Package = IF([Slicer Selection]=[SoftwarePackage],[SoftwarePackage],"")

 

Now it does do the filtering dynamically, however it doesn't display the blanks anymore:(

 

Column AColumn BCheck Package
Functional21.10.2020 00:33Software Package 2
Functional28.03.2021 07:03Software Package 2
Functional27.03.2021 12:43Software Package 2

 

Appreciate any help on this!

 

(As a next step I would want that column to display as empty if no selection is made in the slicer, but I think I've seen solutions to this around here already :))

1 ACCEPTED SOLUTION
Anonymous
Not applicable

@PuddleRunna 
You need to create a disconnected to be used as the slicer.

 

1. create a new table with a column: Table = Distinct( 'SoftwareAssignment'[SoftwarePackage])

2. use the new column it as the slicer.

3. create a measure:

Check Package = IF(MAX('SoftwareAssignment'[SoftwarePackage])=Selectedvalue('NewTable[Column]),[SoftwarePackage],"")

 

Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

@PuddleRunna 
You need to create a disconnected to be used as the slicer.

 

1. create a new table with a column: Table = Distinct( 'SoftwareAssignment'[SoftwarePackage])

2. use the new column it as the slicer.

3. create a measure:

Check Package = IF(MAX('SoftwareAssignment'[SoftwarePackage])=Selectedvalue('NewTable[Column]),[SoftwarePackage],"")

 

Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.

Magic, git it to work. Thanks 🙂

 

amitchandak
Super User
Super User

@PuddleRunna , Not very cleat. But if you are trying to use a measure or slicer value in new column, that will not work

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Doesn't have to be a new column. I have no idea on how to realize what I'm trying to do, so that was my first attempt. I'll take whatever will make me achieve this.

 

What I need is a dynamic way to achieve what I did with the first sample table.

Out of my filtered visual table that has 7 rows, I want to display which of these have Software Package xy assigned while still displaying all 7 rows instead of filtering to just Software Package xy.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors