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! Learn more

Reply
ramshoney1225
Helper V
Helper V

Need help of filter selections

Hi ,

 

I have a page with slicer Month ( which shows from jan to dec ) . Now I have a graph with Month on X-axis , Measure1(Bar), Meassure2(Line), Measure3(line), Measrue4(line).

 

Now when i select Month Jan from Slicer, then the bar measure need to show Jan Value and the remaining 4 Line meeasures need to show from Jan to December values.

 

My understanding is so the X-axis shows Jan - Dec, based on selection the selected Months( shows bars for that Months), for remaining 4 line measures it shows for all 12 months.

 

Need quick help,Thanks for the support.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @ramshoney1225 ,

 

I made a simple example

 

Sample data is this. The index column is to sort the month by the index column.

Screenshot 2021-04-07 155437.png

 

Create a separate table by entering data. There's no relationship between two tables.

Screenshot 2021-04-07 155542.png

 

Four measure are

Measure1(Bar) = CALCULATE(SUM('Table'[Value1]),FILTER('Table',[Month] in ALLSELECTED('Table (2)'[Month])))
Meassure2(Line) = SUM('Table'[Value2])
Measure3(line) = SUM('Table'[Value3])
Measrue4(line) = SUM('Table'[Value2])+SUM('Table'[Value3])

 

Screenshot 2021-04-07 155719.png

 

You can check details from the attachment.

 

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @ramshoney1225 ,

 

I made a simple example

 

Sample data is this. The index column is to sort the month by the index column.

Screenshot 2021-04-07 155437.png

 

Create a separate table by entering data. There's no relationship between two tables.

Screenshot 2021-04-07 155542.png

 

Four measure are

Measure1(Bar) = CALCULATE(SUM('Table'[Value1]),FILTER('Table',[Month] in ALLSELECTED('Table (2)'[Month])))
Meassure2(Line) = SUM('Table'[Value2])
Measure3(line) = SUM('Table'[Value3])
Measrue4(line) = SUM('Table'[Value2])+SUM('Table'[Value3])

 

Screenshot 2021-04-07 155719.png

 

You can check details from the attachment.

 

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Tahreem24
Super User
Super User

@ramshoney1225  you can use the Edit interaction feature to disable remaining chart's interaction off with that Month Slicer.

Step1: Select Month Slicer and go to Format Menu then click on "Edit Interaction".

Step 2: Then click on all you charts which you want all 12 months on x-axis and click on None icon like below screen shot:

Capture.PNG

 

Don't forget to give thumbs up and accept this as a solution if it helped you!!!

Please take a quick glance at newly created dashboards : Restaurant Management Dashboard , HR Analytics Report , Hotel Management Report, Sales Analysis Report , Fortune 500 Companies Analysis , Revenue Tracking Dashboard
amitchandak
Super User
Super User

@ramshoney1225 , You need to use an independent date table for that. Based on the selected date you change the date range of the measures

 

refer my video how to use that : https://www.youtube.com/watch?v=lOEW-YUrAbE

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
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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