Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Matrix Table - Target Value

Hi Team,

 

I have Matrix table and need to add Target value in the last column, I don't have idea, 
Can you help me.

 

This is Matrix Table , need to add Target last column but it show's each week in PBI file.

screen.PNG

 

Thanks,

KV's

1 ACCEPTED SOLUTION
danextian
Super User
Super User

Hi @Anonymous ,

I've done this in the past but this is a bit finnicky and a little advanced I would say. I made use of a disconnected table and additional tweakings in Power Query.  Using a dummy data, this is the closest I could get

danextian_0-1611716241761.png

This is the link to the PBIX for your reference: https://drive.google.com/file/d/1O9SBD3efHRF608lyl7uaxQ2Ad0R3i_Qa/view?usp=sharing










Did I answer your question? Mark my post as a solution!


Proud to be a Super User!









"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

View solution in original post

4 REPLIES 4
danextian
Super User
Super User

Hi @Anonymous ,

I've done this in the past but this is a bit finnicky and a little advanced I would say. I made use of a disconnected table and additional tweakings in Power Query.  Using a dummy data, this is the closest I could get

danextian_0-1611716241761.png

This is the link to the PBIX for your reference: https://drive.google.com/file/d/1O9SBD3efHRF608lyl7uaxQ2Ad0R3i_Qa/view?usp=sharing










Did I answer your question? Mark my post as a solution!


Proud to be a Super User!









"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.
v-cazheng-msft
Community Support
Community Support

Hi @Anonymous 

For Matrix visual, it is difficult to fulfill your needs. You can change visual type from Matrix to Table, then create Measure to achieve it. If you still want to create Matrix, you need a table in which there is a column containing all items of column headers and then create a new Matrix visual with fields from this table.

 

Best Regards,

Caiyun Zheng

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

AllisonKennedy
Super User
Super User

@Anonymous  This is difficult with a matrix. You would need to create a measure for every Week, as well as a measure for every target, and add each to the matrix. You could also potentially create a Measure table using SWITCH and SUMMARIZECOLUMNS functions.


Please @mention me in your reply if you want a response.

Copying DAX from this post? Click here for a hack to quickly replace it with your own table names

Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C

I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com

Anonymous
Not applicable

Hi @AllisonKennedy 

 

I need Target value one time in the last column, I don't want each column.

Thanks,

KV's

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.