Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello all,
I'm trying to get the lowest sum sales value of all days in a month. So in the example below I want to display 5,759 as the value in a card, not 0.
Here is the DAX formula I'm using. It returns the correct result since 0 is the min value, but is there some way I can exclude 0 from the calculation so it jumps to the next minimum value (5,759)?
Solved! Go to Solution.
pls try this
= MINX( FILTER(
SUMMARIZE('Sales Data','DateTable'[CalendarDt],"Total Sales",SUM('Sales Data'[Daily Sales])),[Total Sales]>0)
,[Total Sales])
Hi,
Does this measure work?
Measure = MINX('DateTable',[Total Sales])
If it does not work, then share the download link of the PBI file.
pls try this
= MINX( FILTER(
SUMMARIZE('Sales Data','DateTable'[CalendarDt],"Total Sales",SUM('Sales Data'[Daily Sales])),[Total Sales]>0)
,[Total Sales])
Thank you so much, I knew I was overlooking something and I completely forgot about the filter function.
User | Count |
---|---|
74 | |
71 | |
42 | |
31 | |
28 |
User | Count |
---|---|
99 | |
92 | |
50 | |
49 | |
46 |