March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi @admin11 ,
Try to use the following measure for NP%:
NP % =
DIVIDE (
[SUM_YTD REV&COGS&EXP&OTH],
CALCULATE (
[SUM_YTD REV&COGS&EXP&OTH],
FILTER ( _PNL_Table, _PNL_Table[REV&COGS] = "REV" )
)
)
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Best Regards,
Dedmon Dai
Hi @admin11 ,
Try to use the following measure for NP%:
NP % =
DIVIDE (
[SUM_YTD REV&COGS&EXP&OTH],
CALCULATE (
[SUM_YTD REV&COGS&EXP&OTH],
FILTER ( _PNL_Table, _PNL_Table[REV&COGS] = "REV" )
)
)
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Best Regards,
Dedmon Dai
@admin11 , Please find if the attached file can help
Thank you for sharing.
My Problem Statement :
How to compute ROI = REV/Net Profit=0.59 is correct using Amit expression below :-
RoI 1 = DIVIDE(CALCULATE([SUM_YTD REV&COGS&EXP&OTH] , FILTER(_PNL_Table,_PNL_Table[REV&COGS] = "REV")),[SUM_YTD REV&COGS&EXP&OTH])
But now i like to compute NP % = Net Profit/REV , I using below expression :-
RoI 3_ = DIVIDE(CALCULATE(
FILTER(_PNL_Table,_PNL_Table[REV&COGS] = "REV")
,
[SUM_YTD REV&COGS&EXP&OTH]
),
FILTER(_PNL_Table,_PNL_Table[REV&COGS] = "REV")
)
I get error msg :-
A function 'CALCULATE' has been used in a True/False expression that is used as a table filter expression. This is not allowed.
May i know how to clear the error msg ?
My PBI file :-
https://www.dropbox.com/s/l7dqafwlowkj45g/GL_ISDN_v009%20ROI%20solution%20ask%20AGAIN.pbix?dl=0
Paul
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
123 | |
85 | |
85 | |
70 | |
51 |
User | Count |
---|---|
205 | |
153 | |
97 | |
79 | |
69 |