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 September 15. Request your voucher.
Hi , I need some help to solve a problem in my job
I need to transform the as is mentioned attached to my to be modeling .
To sum up :
I need to count how many times each status was Stored in the table above .
Count how many times the channel URA received the status "available" , "NO Info" , etc.
If the status was not part of that channel , so I would like to place the value 0 in the Tobe table .
How do I create that in DAX ou power query?
Solved! Go to Solution.
HI @dsplaymaxxis,
You can do unpivoted columns on your fields to convert them to attribute and values.
Unpivot columns (Power Query) (microsoft.com)
Then you can create a matrix with 'product' and 'value' as rows, 'attribute' as the column, 'value' with count mode on the matrix value field to achieve your requirement.
Regards,
Xiaoxin Sheng
this is the problem by print screen
HI @dsplaymaxxis,
You can do unpivoted columns on your fields to convert them to attribute and values.
Unpivot columns (Power Query) (microsoft.com)
Then you can create a matrix with 'product' and 'value' as rows, 'attribute' as the column, 'value' with count mode on the matrix value field to achieve your requirement.
Regards,
Xiaoxin Sheng
User | Count |
---|---|
58 | |
56 | |
53 | |
49 | |
32 |
User | Count |
---|---|
172 | |
89 | |
70 | |
46 | |
45 |