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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
spaceman127
Frequent Visitor

Problem with a slicer and relationships

Hello Community,

I have the following problem and can't get any further.

I have a slicer for tags that filters two tables TagTable 1 and Tagtable 2.
Here is the model view.

 

 

 

Modell View.png

If I filter a value that is in TagTable 1, I get 0,00 Euro for my costs.
But if I filter a value from TagTable 2 I get the correct value in my view.

See the two pictures.

 

Top photo Tagtable 1 and bottom photo Tagtable 2.

 

 

 

TagAuswahl Table 1.png

 

 

TagAuswahl Table 2.png

 

However, if I delete or deactivate the relationship of tagtable2 to the fact table and then select a tag in the slicer that is in tagtable1 again, I also get the correct result.

See picture.

 

Delete Relationship.png

What is my problem here?

I don't quite understand this and would like some help.

 

Many thanks in advance.

spaceman127

 

 

6 REPLIES 6
sergej_og
Super User
Super User

Hey spaceman,
can you pls try to connect your dimTagtable1 directly to your factTable. Like you did with your dimTagtable2.
It looks like your dimAzResources does not filter your factTable properly.

Try to establish a direct conncetion between tagtable1 and factTable.

Gutes Gelingen 🙂

Hello sergej_og,

 

Unfortunately this does not work.

Unfortunately I cannot activate this relationship and I have already tried. It's in German but I don't think that's a problem.

Enclosed is a photo.

 

2023-11-21 12_38_27-Test.png

 

Greetings,

spaceman127

 

Hey spaceman,
in german, no problem. 🙂

bi direktional geht nicht, das leuchtet mir ein. Da gibt es in dem Fall paar Problemchen.
Muss es bi-diektional sein?
Wenn du auf single direction umstellst (Tagtable1 filtert factTable) sollte eher passen.
Was passiert, wenn du es so machst?

Hey sergej_og,

 

kann auch gerne weiter in englisch bleiben.

 

Wenn ich die Filterung so ändere kann ich diese auch nicht aktivieren. Führt dann zu einer Mehrdeutigkeit.

 

Hier das Bild.

 

2023-11-22 08_50_29-Test.png

 

Viele Grüße

spaceman127

 

hmm, ok.
a bit difficult to "debug" from far away.
Looks like you have to invest a bit time in datamodelling.

ok.

 

I also think I need to work on it again.

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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