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
Hi Community,
I want to convert this CASE STATEMENT SQL Query to DAX?
SQL Query:
1. DayDiff(AddMonths(min(month),3),min(month)) AS tot_days, (Measure 1)
2. CASE WHEN daydiff(Now(),min(month)) > DayDiff(AddMonths(min(month),3),min(month)) THEN DayDiff(AddMonths(min(month),3),min(month)) ELSE daydiff(Now(),min(month)) end AS days_completed (Measure 2)
Is it possible?
Reg,
Dhana
@Anonymous
give some idea, instead of "Addmonths" what i can use there? I mean alternate DAX function.
this is the model view (Deals_Active) is my fact table here. Any Idea?
User | Count |
---|---|
13 | |
12 | |
8 | |
8 | |
6 |
User | Count |
---|---|
27 | |
19 | |
13 | |
11 | |
7 |