Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
Dear Communitity, hope you are doing well.
The code below works at the line item level but when it come to the Grand Total there is not result ( Blannk Grand Total)
Solved! Go to Solution.
Hi,
I am not sure how your semantic model looks like, but please try something like below whether it suits your requirement.
Total_Cost per GL =
VAR CurrentGL =
VALUES ( Report_Structure[Account] )
VAR CurrentYear =
VALUES ( Report_Structure[Fiscal Year] )
RETURN
CALCULATE (
[Total_COST],
FILTER (
Transactional,
Transactional[AccountNumber]
IN CurrentGL
&& Transactional[FiscalYear] IN CurrentYear
)
)
Thank you very much. It works perfectly!
I will review my code to avoid this to happend again!
Hi,
I am not sure how your semantic model looks like, but please try something like below whether it suits your requirement.
Total_Cost per GL =
VAR CurrentGL =
VALUES ( Report_Structure[Account] )
VAR CurrentYear =
VALUES ( Report_Structure[Fiscal Year] )
RETURN
CALCULATE (
[Total_COST],
FILTER (
Transactional,
Transactional[AccountNumber]
IN CurrentGL
&& Transactional[FiscalYear] IN CurrentYear
)
)
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 5 | |
| 5 | |
| 4 | |
| 3 |
| User | Count |
|---|---|
| 24 | |
| 11 | |
| 11 | |
| 9 | |
| 8 |