Forum Discussion
M_OConnor
Helper I
6 years agoAvoiding 'zero' values in a DAX when you have multiple selected in a filter
Let's say I want to show a bar graph showing Year on Year gross profit for stores broken down into speciic products. Here's an example of some data I have for three stores. Let's say they sell ch...
v-lionel-msft
Community Support
6 years agoHi M_OConnor ,
You try to do it using DIVIDE () function:
Gross Profit YoY =
DIVIDE(
[Gross Profit] -[Gross Profit Last Year],
[Gross Profit Last Year],
BLANK()
)
Best regards,
Lionel Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.