Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.
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
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.