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

View all the Fabric Data Days sessions on demand. View schedule

Reply
quynhpham1955
Regular Visitor

Filter table based on Slicer

Hi,

 

I have a set of data from this link http://quynhpham.net/temp/sample.xlsx which includes of 6 worksheets.

"Actual" and "Budget" are from database and updated every month.

"Jul", "Aug", "Sep" and "Oct" are reports generated from Power BI based on Slicer selection.

 

I would like to use Power BI with visual Slicer and a visual table or matrix with requirement as below.

If select Jul from Slicer then the visual table will show data as worksheet "July", similarly if Aug selected then the visual table is auto reload with data as in worksheet "Aug".

 

Thanks

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @quynhpham1955 ,

I created a sample pbix file(see the attachment), please check if that is what you want.

1. Create a month dimension table

vyiruanmsft_0-1701067967653.png

2. Append the table

vyiruanmsft_2-1701068006335.png

3. Create a measure as below to get the amount

SAmount = 
VAR _selmonth =
    SELECTEDVALUE ( 'Months'[Month] )
RETURN
    CALCULATE (
        SUM ( 'Append1'[amount] ),
        FILTER (
            'Append1',
            IFERROR ( SEARCH ( _selmonth, 'Append1'[Month], 1, 0 ), 0 ) > 0
        )
    )

4. Create a table visual

vyiruanmsft_3-1701068134738.png

Best Regards

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @quynhpham1955 ,

I created a sample pbix file(see the attachment), please check if that is what you want.

1. Create a month dimension table

vyiruanmsft_0-1701067967653.png

2. Append the table

vyiruanmsft_2-1701068006335.png

3. Create a measure as below to get the amount

SAmount = 
VAR _selmonth =
    SELECTEDVALUE ( 'Months'[Month] )
RETURN
    CALCULATE (
        SUM ( 'Append1'[amount] ),
        FILTER (
            'Append1',
            IFERROR ( SEARCH ( _selmonth, 'Append1'[Month], 1, 0 ), 0 ) > 0
        )
    )

4. Create a table visual

vyiruanmsft_3-1701068134738.png

Best Regards

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