- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Get comments from another table in matrix
Hello,
I have imported in my PBI model a table from Excel where people can put comments.
This fact table 1 has column A = YearWeek in text / column B = Category of products in text / Column C = Comments in text.
I have another fact table 2 with Category of products and some figures
I have a dimension table of products where Category of products is. This table is linked to both Table 1 and 2.
I created a matrix where Line = Category of product from dimension table.
Then matrix values are multiples and comes from measures created in Table 2.
I would like to add as final column of this matrix the comments from Table 1
Can I use a kind of lookup dax formula ?
I always need to show in this comments column = the comment from table 1 for concerned category of product and for yearweek = MIN(yearweek) of another table 3
yearweek is in text in both tables
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @yoa380
I've tweaked your formula a little bit, and it seems to produce your required output.
I attach the pbix file as an example.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thanks for quick reply, I don't really need to use my calendar table here as my table 3 (even if several lines) will always only have a single value for YearWeek. I thought using MIN was good idea because I can't just say "equals to YearWeek column".
It's just to make the filter on Table 1.
I tried your logic but I get an error message.
I also tried :
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @yoa380
I've tweaked your formula a little bit, and it seems to produce your required output.
I attach the pbix file as an example.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @yoa380 ,
You can get your required output by using ConcatenateX like below:
I am assuming that your 'Table 1' and 'Table 3' have relationship with the Calendar dimension table. In order to use the min function, you need to convert "2024W19" to numerical format like 2024.19.
Best regards,

Helpful resources
Join us at the Microsoft Fabric Community Conference
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Power BI Monthly Update - February 2025
Check out the February 2025 Power BI update to learn about new features.

Subject | Author | Posted | |
---|---|---|---|
07-26-2024 12:47 AM | |||
03-01-2023 01:59 AM | |||
07-25-2024 06:03 AM | |||
06-27-2024 04:44 AM | |||
11-24-2023 06:28 AM |
User | Count |
---|---|
24 | |
12 | |
10 | |
9 | |
9 |
User | Count |
---|---|
17 | |
16 | |
13 | |
11 | |
11 |