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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
MBWATSON
Helper II
Helper II

Slicer not relating to multiple tables

Hi Team Power BI!

I have two tables with a relationship that both have a text column called Date. They are formatted the same. I have created a matrix visual that pulls a different measure (Actions) from table 1 and another measure (Hours) from table 2. Looks good until I throw in a slicer visual. When I use the date measure from table 1 it slices only the Actions; when I use if from table 2 it only slices the hours. Any suggestions? Thanks in advance for your help!

10 REPLIES 10
aj1973
Community Champion
Community Champion

Hi @MBWATSON 

May I know why Date columns are of type Text?

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

@aj1973 They are month and year and manually entered columns. They work in other tabs of the report as text to filter to the month desired. Those visuals also use multiple tables. Why text? That was the easiest way to enter them via "New Column" i.e. Date = "September" etc.

aj1973
Community Champion
Community Champion

Not sure if that's the only easiest way!

Do you want to share your file?

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

Only if you promise not to laugh lol! I am a novice with Power BI and newish to this forum. Is there a way to attach a file or should I just copy and paste examples?

 

aj1973
Community Champion
Community Champion

😂😂

Here I won't lol anymore I promise. Don't worry I've seen worse.

You can share the file on Google drive or any online services 

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

That is unfortunately not an option due to work restrictions. 

Table 1 (VIB Report)

MBWATSON_0-1665530214145.png

Table 2 (VIB Hours)

MBWATSON_1-1665530280486.png

Visual

MBWATSON_2-1665530317321.png

 

Hi,

Your approach should be to create a Calendar Table.  Build a relationship (Many to One and Single) from the date column of both tables to the Date column of the Calendar Table.  To your visual, drag Date from the Calendar Table.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

@Ashish_Mathur This unfortunately did not work but thank you

Hi,

Share the download link of your PBI file.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Also, I tried changing them to date format but it didn't change the outcome.

Helpful resources

Announcements
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! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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