Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
hai can i get help,
i want to make divide of two measure but the result not as expected,
First Measure :
the secound Measure is :
but when i want divide STP EX EKIT, SUBMISSION ALL(STP EX EKIT/SUBMISSION ALL), the result is not expected,
Solved! Go to Solution.
Hello @yudhamm
Can you change your code little bit. and see if it works or not..
STP EX EKIT =
CALCULATE(
COUNT(STP[CONTRACT_NO]),
STP[CHANNEL] IN {"AGENCY", "BANCASS"},
STP[STP] = "STP",
STP[YEAR ISSUED] = 2025,
VALUES(STP[MONTH ISSUED])
)
SUBMISSION ALL =
CALCULATE(
COUNT(STP[CONTRACT_NO]),
STP[CHANNEL] IN {"AGENCY", "BANCASS"},
STP[YEAR SUBMISSION] = 2025,
VALUES(STP[MONTH SUBMISSION])
)
and use the Divide function for Percentage
DIVIDE(
[STP EX EKIT],
[SUBMISSION ALL],
0
)
let me know if it works or not.. if not, i reuqest you to provide your data model along with some dummy data.
Regards
sanalytics
Hello @yudhamm
Can you change your code little bit. and see if it works or not..
STP EX EKIT =
CALCULATE(
COUNT(STP[CONTRACT_NO]),
STP[CHANNEL] IN {"AGENCY", "BANCASS"},
STP[STP] = "STP",
STP[YEAR ISSUED] = 2025,
VALUES(STP[MONTH ISSUED])
)
SUBMISSION ALL =
CALCULATE(
COUNT(STP[CONTRACT_NO]),
STP[CHANNEL] IN {"AGENCY", "BANCASS"},
STP[YEAR SUBMISSION] = 2025,
VALUES(STP[MONTH SUBMISSION])
)
and use the Divide function for Percentage
DIVIDE(
[STP EX EKIT],
[SUBMISSION ALL],
0
)
let me know if it works or not.. if not, i reuqest you to provide your data model along with some dummy data.
Regards
sanalytics
Thank you, for your solution
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
21 | |
15 | |
11 | |
11 | |
10 |