Forum Discussion
Anonymous
3 years agoNot applicable
Quarter Days data
Hi All, I have a visual in my report where I'm showing data Q/Q like below. What bussiness wants is that I should show the exact same day's data for each quarter for example today is...
Anonymous
3 years agoNot applicable
I tried the below DAX but its not working
Measure =
Var currentday = [Today]
Var day = CALCULATE(VALUES(D_DATE[FISCAL_DAY_OF_QUARTER]),FILTER(RELATEDTABLE(F_ACV),F_ACV[CLOSE_DATE]=currentday))
RETURN
CALCULATE([ACV],D_DATE[FISCAL_DAY_OF_QUARTER] = day)
andhiii079845
Solution Sage
3 years agoWHY [TODAY] instead of TODAY() ?
- Anonymous3 years agoNot applicable
I'm using date direct from my DB.
- andhiii0798453 years ago
Solution Sage
Please try my solution first. you also use today() in your first post.
What is [TODAY] ? a Column with one value?
Than you can try something like Var currentday = calculate(VALUES([Today]))- Anonymous3 years agoNot applicable
The day number is coming correct using your measure but how to calculate the total fact amount i.e ACV here, DAX doesnt allow me to use calculate with the measure created.