Forum Discussion
jibran
9 years agoHelper II
Filter data monthly
Hi All, I am working on to show data on monthly basis but struggling to create a DAX function. I have a date created column that is in this format 01/01/2017 and I want to see how many quotes been ...
- 9 years ago
Do you want to get the total quote amount for each month? If yes, after create relationship with the calendar table, you should be able to show the result with a Table visual like below.
If you want to get the running total, you can create a measure with following formula.
Running_Total_Month = CALCULATE ( DISTINCTCOUNT ( Table1[Quote No] ), FILTER ( ALL ( Table1 ), MONTH ( Table1[Date Created] ) <= MONTH ( MAX ( Table1[Date Created] ) ) ) )Best Regards,
Herbert - 9 years ago
Just remove the Running_Total meansure from the Table visual should be OK.
Best Regards,
Herbert
v-haibl-msft
9 years agoMicrosoft Employee
Do you want to get the total quote amount for each month? If yes, after create relationship with the calendar table, you should be able to show the result with a Table visual like below.
If you want to get the running total, you can create a measure with following formula.
Running_Total_Month =
CALCULATE (
DISTINCTCOUNT ( Table1[Quote No] ),
FILTER (
ALL ( Table1 ),
MONTH ( Table1[Date Created] ) <= MONTH ( MAX ( Table1[Date Created] ) )
)
)
Best Regards,
Herbert