Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
I am looking for dax to get Latest Date having sales.
Dax should get last date having sales amount greater than 1.
Example 1:
data Sales Output
1/4/2021 1/2/2021
1/3/2021
1/2/2021 2
1/1/2021 4
Example 2:
data Sales Output
3/4/2021 2/2/2021
2/3/2021
2/2/2021 2
2/1/2021 4
Solved! Go to Solution.
@Anonymous , sorry, try like
calculate(max(Date[Date]),filter(allselected(Table), Table[Sales] >1))
I have Date in differnt dimention table and sales count in fact table. this dax will not helping.
I am getting this below error:
Too few arguments were passed to the IF function. The minimum argument count for the function is 2.
Error as below.
A single value for column 'Date' in table 'DIM Date' cannot be determined. This can happen when a measure formula refers to a column that contains many values without specifying an aggregation such as min, max, count, or sum to get a single result.
This no If statment in it. Please see the above screen shot. Date is differnt table and sales in differnet table.
User | Count |
---|---|
11 | |
9 | |
8 | |
7 | |
5 |
User | Count |
---|---|
24 | |
16 | |
15 | |
10 | |
7 |