Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hello together,
in my problem, there are three tables with an redundant relationship. (You can see the problem in the attached picture)
The target is to assign the costs from Table1 to a causer in Table 3.
When the Bew.Art is 553, the causercode is V01.
When the Bew.Art is 551 and there isn´t a Order, the causercode is V15.
When the Bew.Art is 551 and there is a Order, it depens on which Workplace the order was edited. And then the Workplace decide about the causercode.
And because of the causercode in Table1 oder Table 3, I have to connect both to Table 3.
I know, the tables aren´t modeled in the best way, but that´s an requirement, not to change these tables.
My Question:
Is it possible to solve this problem without changing the Tables, maybe with a Dax-formula?
("USERELATIONSHIP" or something like that?)
Sorry for the misunderstanding question.
Thanks for your reply, but that isn´t my desired goal.
I took your File, filled it with some more informationen (e.g. costs and causer) and created the final table.
Here you can see, that 100€ aren´t assigned to any causer.
In Table1 you can see, that these 100€ don´t have a causercode, but a Order.
And in Table2 you can see, that these Order is assigned to workplace AW1 and to the causercode V08.
And in Table3 you can see, that causercode V08 is assigned to the causer "cause2".
So in the free field I want the causer "cause2"
I hope you understand my problem now.
I can´t upload a .pbix-file. so I have to send pictures.
Table1
Table2
Table3
Relationship
Desired Goal
Hi, @floo_o ;
You could try it.
Measure =
IF(MAX('Table1'[causecode])<>BLANK(),MAX('Table1'[causecode]),MAX('Table2'[causecode]))
The final show:
If not right, can you share the result what you want to output?
Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Check out the September 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
112 | |
107 | |
97 | |
39 | |
32 |
User | Count |
---|---|
153 | |
122 | |
77 | |
74 | |
44 |