Forum Discussion
jasonh2hdigital
5 years agoRegular Visitor
SWITCH TRUE doesn't return when table relationship
I have a basic Power BI report with three tables. ReportFormat (1 to many) ReportChart (1 to many) GL ReportFormat provides a structure I want for a financial report. ReportChart provids...
- Anonymous5 years ago
Hi jasonh2hdigital ,
Please take a look at the following output based on the relative fields from the three tables:
You could rewrite the original measure Filter(ALL('GL') like this:
Measure = COUNTAX(FILTER(ALL('GL'),RELATED('ReportChart'[ReportItemsNormalised]) IN {"Total Income"}),[Amount])Then the result works fine:
Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
jasonh2hdigital
5 years agoRegular Visitor
Thanks Anonymous - I can understand very difficult to understand.
I have uploaded a copy of the pbix file in google drive - link below.
https://drive.google.com/file/d/1VMiLhmnVUhUE4_ACMHKgRuqRsjKkM-W9/view?usp=sharing
Hopefully it will help anyone willing to take a look at it. Good luck!!