Hi PowerBI Gurus,
Hope you all are keeping well.
I have a Measure which calculates Returns% = [No of Returns]/[No of Sales]. when I pull the month from calendar table and measure from another query and put it in a table it shows only the months with data and doesnt display other months. I know there is an option to Show Items With No data. But due to certain limitations I dnt want to use that option and instead want all the months to be displayed with 0% against the month with no data.
Any leads would be apprecaited. Thanks in advance for your time.
Solved! Go to Solution.
Hi,
Please try something like below whether it suits your requirement.
Returns% =
( [No of Returns]/[No of Sales] ) + 0
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
@mohinderbabu
Or you can use
If(ISBLANK([No of Returns]/[No of Sales]),0,([No of Returns]/[No of Sales]))
If solved, please mark as SOLUTION
Hi,
Please try something like below whether it suits your requirement.
Returns% =
( [No of Returns]/[No of Sales] ) + 0
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
@mohinderbabu
Or you can use
If(ISBLANK([No of Returns]/[No of Sales]),0,([No of Returns]/[No of Sales]))
If solved, please mark as SOLUTION
User | Count |
---|---|
211 | |
80 | |
79 | |
76 | |
49 |
User | Count |
---|---|
172 | |
92 | |
85 | |
80 | |
70 |