The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Dear members,
Please kindly help for the following problem.
I have the following dax filtered by date, the results were correct but the total not, I would like a sum of the results.
Is there any way to do that please?
Best regards
Solved! Go to Solution.
FilteredResult = CALCULATE(SUM('Table'[Value]), 'Table'[Date] >= MIN('Table'[StartDate]), 'Table'[Date] <= MAX('Table'[EndDate]))
FilteredResultsTotal = SUMX(VALUES('Table'), [FilteredResult])
FilteredResult = CALCULATE(SUM('Table'[Value]), 'Table'[Date] >= MIN('Table'[StartDate]), 'Table'[Date] <= MAX('Table'[EndDate]))
FilteredResultsTotal = SUMX(VALUES('Table'), [FilteredResult])
User | Count |
---|---|
13 | |
8 | |
7 | |
7 | |
5 |
User | Count |
---|---|
21 | |
15 | |
15 | |
10 | |
7 |