Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now
Hi,
I have one table with supplier names and respective index values. (Table 1 )
I have another table with survey answers from different suppliers ; each column here stands for supplier answers. There are 20 columns as 20 suppliers and each row states one feedback answer from the survey. (Table 2)
I want to link each supplier name from table 1 to a specific column in table 2.
Thank you !
Hi @Anonymous,
I also think use unpivot column to convert these fields to attribute and value will be a better choice to handle this scenario. Dax expression was not suitable to calculate across multiple fields, it means you need to union function to manually extract each value field from the table and mapping with current records. (BTW, large and complex expression with multiple lopping will spend huge amount of memory resources, they may cause the memory out issue)
Regards,
Xiaoxin Sheng
@Anonymous you are going to make it super complicated and there is no point solving it thru dax, if I were you I will work on preparing the data in the right way to make it work. there is no point in spending time and writing complex dax which can be achieved with proper data modeling. Rest it is your call.
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
@Anonymous best is to unpivot your survey table so that supplier name and their reply are on the rows instead of columns and from there everything should be straightforward.
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
I cannot unpivot as each question has subcategories and I have indexed them accordingly.
Is it possible to do this in DAX ? I am trying to create a hybrid matrix therefore need to index a supplier row to a specific column in the survey table
Check out the October 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
115 | |
112 | |
105 | |
95 | |
58 |
User | Count |
---|---|
174 | |
147 | |
136 | |
102 | |
82 |