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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
kmansweden
Frequent Visitor

Slicer to slice another slicer that starts with

Hi, I am brand new to PB and need some help to figure this out.

 

I have a Table with General Ledger accounts, I also created a AccountSeries table to use as a slicer.

I want to use the AccountSeries to filter the Account table and see the result in the left Matrix in pic.

 

So if I select 20000 and 30000 from AccountSeries it will slice Account to only show rows between 020000-029999 and 030000-039999

I tried to find something like: DISTINCT ( Account[Account Number] where starts with somethingwithout luck.

 

Is this even possible?

Am I looking at this the wrong way?

 

I need atleast a hint how to proceed.

 slice.PNG

1 ACCEPTED SOLUTION
jdbuchanan71
Super User
Super User

@kmansweden 

What you need to do is add the series column to your Account table.  Something like this should do the trick.

Account Series = FLOOR ( 'Table'[Account], 10000 )

Then you can add both columns as slicers and the Account Series will filter the Account slicer.

jdbuchanan71_0-1633755959825.png

 

View solution in original post

2 REPLIES 2
jdbuchanan71
Super User
Super User

@kmansweden 

What you need to do is add the series column to your Account table.  Something like this should do the trick.

Account Series = FLOOR ( 'Table'[Account], 10000 )

Then you can add both columns as slicers and the Account Series will filter the Account slicer.

jdbuchanan71_0-1633755959825.png

 

Amazing it works 😁

I've learned so much by this solution and will apply this to many other things.

 

Thank you so much.

 

/ kmansweden

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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