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
saranp780
Helper III
Helper III

How to show only less value when click on slicer?

Hi, expertise on Power Bi.

I have some data like below.

 

User ID               Project

PJ1402PUR1402
PJ1402PUR1101
PJ1402PUR1302
PJ1402PUR1801
PJ1402PUR1802
PJ1701PUR1401
PJ1701PUR1402
PJ1701PUR1801
PJ1701PUR1802
PJ1710STO1402
PJ1710STO1701
PJ1710STO1702
PJ1710STO1710
PJ1401ACT1302
PJ1401ACT1301
PJ1401ACT1401

What I want is when someone clicks on the project, it will be shown only the User ID for the old projects.

 

Such as when I click on 1401.

From this case, it will be shown the User IDs only following. 

PJ1302PUR
PJ1100STO
PJ1401ACT

And the result like this on Power BI.BI01.jpg

 

And when I click on the other more new projects, 1405 or 1510 may show. If they have projects belong to the User ID.

 

How can I resolve this?

 

Thanks.

1 ACCEPTED SOLUTION

Hi @saranp780,

 

Actually it is not possbile to meet the exact same requirement as yours. However we can use a table visual to work around.

 

1. Create a calculated column.

 

Column = MID(Sheet1[User ID],3,4)

2. Create the measures as below.

 

Measure = SUM(Sheet1[Column])
Measure 2 = 
IF(ISBLANK([Measure]),BLANK(),RANKX(ALLSELECTED(Sheet1),[Measure],,ASC,Dense))

3. Create a table visual and filter the table by Measure 2.

 

Capture.PNG

For more details, please check the pbix as attached.

 

Regards,

Frank

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

View solution in original post

6 REPLIES 6
v-frfei-msft
Community Support
Community Support

Hi @saranp780,

 

Could you please share your pbix to me?

 

Regards,

Frank

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

Hi @saranp780,

 

Actually it is not possbile to meet the exact same requirement as yours. However we can use a table visual to work around.

 

1. Create a calculated column.

 

Column = MID(Sheet1[User ID],3,4)

2. Create the measures as below.

 

Measure = SUM(Sheet1[Column])
Measure 2 = 
IF(ISBLANK([Measure]),BLANK(),RANKX(ALLSELECTED(Sheet1),[Measure],,ASC,Dense))

3. Create a table visual and filter the table by Measure 2.

 

Capture.PNG

For more details, please check the pbix as attached.

 

Regards,

Frank

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

Hi @saranp780,

 

Does that make sense? If so, kindly mark my answer as a solution to close the case.

 

Regards,
Frank

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

Oh sorry. I forgot that.

LivioLanzo
Solution Sage
Solution Sage

Have you tried to edit the interactions so that the Project slicer can filter the User ID slicer ? 

 


 


Did I answer your question correctly? Mark my answer as a solution!


Proud to be a Datanaut!  

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.