Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi,
I created a measure that compares year to year sale. Right now, there are only 2 main accounts in use (from 100 avaliable in table). When I add my measure to matrix table, all of them appears, even if there are no values (exept from measure that is -100% in that case). Please see screens below, to help you understand my problem. On the 2nd screen i would like to see only accounts with values.
I think, that I need to modyfy my measure, to not apply to empty rows, but I don't have good idea for that.
Measure: Zmiana % = IFERROR(([Kwota za 2021]/[Kwota za 2020] -1), "")
Solved! Go to Solution.
Copying DAX from this post? Click here for a hack to quickly replace it with your own table names
Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C
I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com
Hi @AllisonKennedy , thank you for your reply. I wanted to apply measure only if one of [Kwota za 2021] or [Kwota za 2020] is not empty. But I realized that it will be fine to just check if one of them is empty.
I ended up with measure
Copying DAX from this post? Click here for a hack to quickly replace it with your own table names
Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C
I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com
Hi @AllisonKennedy , thank you for your reply. I wanted to apply measure only if one of [Kwota za 2021] or [Kwota za 2020] is not empty. But I realized that it will be fine to just check if one of them is empty.
I ended up with measure
Copying DAX from this post? Click here for a hack to quickly replace it with your own table names
Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C
I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com
User | Count |
---|---|
106 | |
89 | |
81 | |
76 | |
73 |
User | Count |
---|---|
112 | |
104 | |
96 | |
74 | |
66 |