Forum Discussion
Graitec
6 years agoRegular Visitor
Visual filter from a DAX Sumx filter expression
Hi, I want to query the number of licences which are active for each week so I can show the increase in licences over time. I have created two date tables as below which work, I suspect there is...
- 6 years ago
Hi Graitec ,
Would you please refer to the measure below:
Number of Active Licences = Sumx(filter(Purchases,Purchases[License Expiry Date]<MAX('Dates - Week/Year'[WeekStartDate])),Purchases[Quantity])Best Regards,
Dedmon Dai
v-deddai1-msft
6 years agoCommunity Support
Hi Graitec ,
Would you please refer to the measure below:
Number of Active Licences = Sumx(filter(Purchases,Purchases[License Expiry Date]<MAX('Dates - Week/Year'[WeekStartDate])),Purchases[Quantity])
Best Regards,
Dedmon Dai
Graitec
6 years agoRegular Visitor
This worked perfectly, thanks very much Dedmon!