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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
bargok
New Member

Consolidating two slicers using similar columns

So I have two bar charts, one using the 'views_per_month' table and another using the 'views_per_day' table that are each being filtered by a 'year' column and being filtered using two seperate slicers. The values in both 'year' columns are the same (2015, 2016, 2017, or 2018). I can't seem to form a relationship between them since neither column is unique, and when trying to append or merge queries, I cannot get it function properly due to the differences between the amount of rows. it Is there a way to get one slicer to animate both of these visuals?

 

views_per_month columns: views, range (2017-12, 2017-11, ...), and both month (5, 6, ...) and year (2016, 2017, ...) pulled down from range.

 

views_per_day columns: views, range (2017-12-31, 2017-12-30, ...), and both month (5, 6, ...) and year (2016, 2017, ...) pulled down from range.

 

I am running queries using import mode. If there are any additional details that I need to provide, please let me know! Thanks in advance!

2 REPLIES 2
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @bargok,

 

Have you solved your problem?

 

If you have solved, could you please share the solution or accept the replies making sense as solution to your question so that people who may have the same question can get the solution directly.

 

Best Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @bargok,

 

If I understand your scenario correctly that you have tables and you create the two bar charts with the data from the two tables, you also create the two seperate slicers  to filter the the two chart with the same column?

 

And you want to create one single slicer to filter the two charts but there is no relationship for your two tables?

 

What about create another Calendar table with Canlendar function? Then you may create the relationship for the tables.

 

In addition, you could have a reference of this similar thread.

 

If you still need help, please share a dummy pbix file which can reproduce the scenario, so that we can help further investigate on it? You can upload it to OneDrive or Dropbox and post the link here. Do mask sensitive data before uploading.)

 

Best  Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

Check out the November 2024 Power BI update to learn about new features.