Forum Discussion
Profit loss calculation report in Matrix Visual
- 8 years ago
Coming to think about it, there is actually a simpler solution:
GuV = if([IsDetail],[Act],[RT])
with
IsDetail = ISFILTERED('Kostenart zu DB-Zeile'[Konto ++]) || ISFILTERED('Kostenart zu DB-Zeile'[DB Unterzeile ++]) || ISFILTERED('Kostenart zu DB-Zeile'[DB Zeile ++])The measure "IsDetail" checks if one of the levels/groups that are considered as details is filtered. No need to adjust any tables then :)
Coming to think about it, there is actually a simpler solution:
GuV = if([IsDetail],[Act],[RT])
with
IsDetail = ISFILTERED('Kostenart zu DB-Zeile'[Konto ++]) || ISFILTERED('Kostenart zu DB-Zeile'[DB Unterzeile ++]) || ISFILTERED('Kostenart zu DB-Zeile'[DB Zeile ++]) The measure "IsDetail" checks if one of the levels/groups that are considered as details is filtered. No need to adjust any tables then :)
Hi Imke,
thank you very much! This works!
:smileyhappy:
Alex
- ImkeF8 years agoCommunity Champion
Pleased to hear, so thanks for the feedback Alex_Berlin :)
With regards to the deviation column I strongly recommend to adjust your input data to a "standard model" where you use a calendar table and construct a date-column in your "Daten fixiert". Then you can use the quick measures from the shelve and will be able to find much more help on the internet than with your current model.