Forum Discussion
Measure with relationship blows up table visual
- 6 years ago
Hi Anonymous ,
It is caused by the row context where the measure "HasSpecialRows" is. When put it into the "order" table, it will show based on order(id).
You could try to create a calculated column as Daviejoe suggested. Or you could try the formula below to create a new measure.
Measure = IF ( MAX ( 'order'[id] ) = MAX ( orderrow[order_id] ) && MAX ( 'order'[id] ) <> BLANK (), IF ( SUM ( orderrow[IsSpecialRow] ) > 0, "True", "False" ) )Best Regards,
Xue Ding
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hey Anonymous I had a similar problem.
I created some measures, they also sat in some KPI cards also, I added +0 at the end of the dax to ensure I didn't get a KPI displaying "blank".
I then discovered my tables bloated due to the + 0. I'd get multiple entries in my tables as a result.
I'd try using a calculated column with a Switch statement to return what you want rather than use a measure.