Forum Discussion
DAX Divide in a Measure with Variables
Hi, Thanks for the answer but it is not working for my model. I have simplified it and provided only one table but I have a Date table and Account as well that are connected with my Table. I have tried to adapt your solution and instead of ALL, used ALLSELECTED as I want my table to get updated according to user selection-filters on Info (monthly values or not), Year and Month. As you can see below the problem is now that is working only for Netsales and not for the rest Accounts. Moreover, in contrast with your Netsales my Netsales are only being calculated for Account =Netsales but wanted to get the same Netsales value in all rows. I have attached my new variable along with the result that it brings back. Any help will be much appreciated.
ā
Hi,
Please share your pbix file's link, and then I can try to look into it.
Thanks.