Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Dear all...
need some help with dax.
the column is a accumative total and i need to calculate the no. of sales per month.
the blank value indicate the days when sales is closed.
how do i calculate the difference if the previous value is blank.
there could be 2 or more blank cell.
Thank you so much.
Solved! Go to Solution.
Hi Washivale ,
You also could refer to my sample to see whether it work or not.
Best Regards,
Zoe Zhi
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
You might need to add more details on what exactly you are trying to do with this data, tried downloading file from the link with no luck.
per your screenshot, if you just need number of sales per month, a simple calculate function as below should be sufficient.
= Calculate(Count(SalesIdCol), commulativevaluecol <>blank())
Thanks,
Washivale
hihi..
i need the no. of sales per month but because there are blank value, so i need the formula to take the previous value...
there are times when there are more than 2 blank value.
Hi @Anonymous ,
still getting an error message on gofile, i tried to reproduce a table from your screenshot, and created a measure as below
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
96 | |
77 | |
66 | |
53 |
User | Count |
---|---|
144 | |
105 | |
102 | |
89 | |
63 |