Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreShape the future of the Fabric Community! Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions. Take survey.
HI, i have a formula who works like this:
Solved! Go to Solution.
Use the DIVIDE function, it accounts for a divide by zero error
Hi @marcos_osorio,
You can use an IF statement.
TH Total Unit Margin = IF ( SUM ( 'BI Analysis'[Qtty] ) = 0, BLANK (), CALCULATE ( SUM ( 'BI Analysis'[Amount] ) / SUM ( 'BI Analysis'[Qtty] ), YEAR ( 'BI Analysis'[DATE RECORD] ) > 2017, 'Type of Data'[TYPE] = "Result" ) )
Best regards,
Yuliana Gu
Use the DIVIDE function, it accounts for a divide by zero error
Thank you very much!
I have a lot to learn of Power BI.
Thanks Again!
User | Count |
---|---|
92 | |
88 | |
88 | |
82 | |
49 |
User | Count |
---|---|
156 | |
145 | |
104 | |
72 | |
55 |