Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hello,
This is the data sample
| Client | heures_quantity | duree_presta | € HT Signes | Premier key_entry_client |
| A | 16 | 284 | 4629.2 | 26/09/202271378 |
| B | 28 | 179 | 4522.73 | 03/01/202316723837 |
| B | 84 | 304 | 21361.07 | 10/03/202216723837 |
Here is a representation in the matrix :
Subtotal 1 should equals 16
Subtotal 2 should equal 56 (average of the 2 values of its category)
Grand total should equal 72 (56+16)
The date filtering is important.
I tried to group by client but I lost the granularity of the date and therefore cannot filter anymore
Please advise me a solution in DAX.
Regards
Solved! Go to Solution.
| Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension! |
DAX is simple, but NOT EASY! |
thanks a lot it works like a charm
| Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension! |
DAX is simple, but NOT EASY! |
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 19 | |
| 13 | |
| 8 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 29 | |
| 19 | |
| 18 | |
| 11 | |
| 10 |