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.
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! |
User | Count |
---|---|
11 | |
8 | |
6 | |
6 | |
6 |
User | Count |
---|---|
24 | |
14 | |
13 | |
9 | |
8 |