The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hello everyone,
I'm struggling to solve this problem !
So, I have this hierarchy in matrix with 2 level between two table linked with column "City"
level 1 : "RESP CONTENT"
level2 : "City"
I created the matrix as below as below using as hierarchy the columns of "table 1" : "RESP CONTENT" and "City"
With :
Please, any help?
Thank's in advance
Solved! Go to Solution.
HI @SoufTC,
I think you need to add if statements to check all hierarchy levels and write corresponding expressions for each level aggregation.
Clever Hierarchy Handling in DAX - SQLBI
Measure Totals, The Final Word
Regards,
Xiaoxin Sheng
@SoufTC , as Score is measure
then for sum
sumx(Table, [Score])
or Sumx(values(Table[Column]), [Score]) // After Column, any group by it will sum
HI @SoufTC,
I think you need to add if statements to check all hierarchy levels and write corresponding expressions for each level aggregation.
Clever Hierarchy Handling in DAX - SQLBI
Measure Totals, The Final Word
Regards,
Xiaoxin Sheng
User | Count |
---|---|
86 | |
84 | |
36 | |
34 | |
34 |
User | Count |
---|---|
93 | |
79 | |
66 | |
55 | |
52 |