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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
ramshoney1225
Helper V
Helper V

Need help in Handling dynamic values into Slicers from different tables

I have below Tables which i need to use for reporting.

ramshoney1225_0-1635336024044.png

 

Month table (Confirmed Dimension) joined to between TableA and TableB
Year Table (Confirmed Dimension) joined to between TableA and TableB
Country Table (Confirmed Dimension) joined to between TableA and TableB

 

I have two pages PageA and PageB

Now I need to use Slicers from confirmed dimension Month Slicer, Year Slicer, Contry Slicer

 

Now the problem,

when i use (Month Slicer) from "Month Table" it is showing all the 12 months where i need to show (January, ebruary, March, April) for Page A. Now i manually added the months that are associated to Page A


when i use (Year Slicer) from "YearTable" it is showing all the 4 years where i need to show (2019,2020) for Page A. Now i manually added the years that are associated to Page A


when i use (Country Slicer) from "Country Table" it is showing all the 21 countrys where i need to show (Albania, Belarus, Cameroon, United States) for Page A.

 

Simillary I'm doing the same for TableB report which is of manually process.

 

My requirement is even tho i use the Month,Year,Country from (Month table, Year table, Country table ) to PAGEA , i need to see the assoicate years need to come, assoicate month need to come, associate country need to come ) for PageA.

how to do that dynamically simillary to PageB report.

3 REPLIES 3
ramshoney1225
Helper V
Helper V

Hi @amitchandak 

 

Thanks for the quick response, but my is like all confirmed dimension values using in Slicer

 

as below with short descritipon.

 

Month table has 12 months of Data 

TableA has 4 months of data


we created a relationship Monthtable joined with TableA.

My requriment is to use Month slicer from Month table in PageA dashboard which i'm using TableA data. Whenever i use month then it is showing 12 months, but for TableA im getting 4 months.

 

Now, in Month slicer (Filter section) i'm adding the 4 months that are coming froM TableA. which is a manual process. I need to handel in such a way if i use Month Slicer from MOnth table it should show the months that are coming from tableA.

Simillary when i create a new dashboard PageB with TableB there for monthslicer from Monthtable should show the months that are associted to TableB.

Hi, @ramshoney1225 

In addition to manually filtering the data, you can also apply a measure to the visual filter pane to filter slicer value.

You can try code similar to the following:

Measure = IF(MAX('Month Table'[Month])IN VALUES(Table1[Month]),1,0)

156.png

 

Best Regards,
Community Support Team _ Eason

amitchandak
Super User
Super User

@ramshoney1225 , Based on what I got

 

if you want to restrict a slicer based on fact values then you can create a measure countrows(Fact) and then use that visual level filter and check for not blank

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

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.