Forum Discussion
vickyprudhvi
Helper IV
10 years agoHelp with Dax Measure for Policy Count
DateDimensionID JobCloseDate PolicyNumber TermNumber BranchID Job MostRecentModel 1 7/1/2016 0:00 A 1 1 Submission 1 2 7/2/2016 0:00 A 1 2 Policy Change 1 2 7/2/2016 0:...
- 10 years ago
Hi vickyprudhvi,
Can you please give a try to below formual to add a measure.
JobCount= CALCULATE(DISTINCTCOUNT(Table1[PolicyNumber]),Table1[JobCloseDate]<=VALUES(Table1[JobCloseDate]))
You can show this on your card visual and it will give you count of distinct policy numbers till your selected date.
Habib
Continued Contributor
10 years agoWhat will be sorting order? If date, you can have multiple policies within same date. To find context to previous value we need to sure about the data sorting order.
vickyprudhvi
Helper IV
10 years agolets say the order of sorting would be Primary jy which is an identity column(1,1)