Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and a 50 percent discount on exams.
Get startedEarn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hello friends,
I need to create an special hierarchy for Financial Reports.
It should combine accounts into groups - Assets, Liabilities, Revenues, etc.
But there is one catch - a special condition for several accounts!
If the quaterly total of a special account is positive - it should go to "Assets" group, if the total is negative - then it belongs to "Liabilities". I know it's wiered but this is the case.
How would you approach this challenge?
Thank you very much!
Michael
Solved! Go to Solution.
Hi @Anonymous,
You can create a calculated column below:
Assets/Liabilities= var TotalPerAccount= CALCULATE(SUM(revenue],ALLEXCEPT('Table', [Year],[Quarter]))
return
IF(TotalPerAccount>=0,"Assets","Liabilities")
Best Regards,
Qiuyun Yu
Hi @Anonymous,
You can create a calculated column below:
Assets/Liabilities= var TotalPerAccount= CALCULATE(SUM(revenue],ALLEXCEPT('Table', [Year],[Quarter]))
return
IF(TotalPerAccount>=0,"Assets","Liabilities")
Best Regards,
Qiuyun Yu
Thanks,
I'll try it out this week
Excellent!
It is working.
Thank you!
Michael