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.
Hey,
I have a problem within Power BI.
I have a list of sales per month and in some months there are no sales. Now I want to display the last value where the sales have been >0, but i don't know how to do this.
Here is a small example for you to illustrate the problem.
Thanks in advance!!
Solved! Go to Solution.
Hi @Crydus
First create a measure
Hi @Crydus
First create a measure
Thank you so much.
I'm fairly new to PBI and the FILTER expressions are still very confusing to me. But this works as intended 🙂
Again, many, many thanks.
Glad to help you!!!
Try the below measure:
Measure = CALCULATE(SUM('Table'[Sales]),FILTER(ALL('Table'),'Table'[Date]=MAX('Table'[Date]) && SUM('Table'[Sales])>0))
Thanks for your suggestion, unfortunately this didn't bring me the expected result 😞
My goal is to have a column where no row is equal to 0, i.e. if February has no sales, I want to have the sales of january and in August the Sales of may should be visible.
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 |
---|---|
110 | |
99 | |
80 | |
64 | |
57 |
User | Count |
---|---|
145 | |
110 | |
91 | |
84 | |
66 |