Showing results for 
Search instead for 
Did you mean: 
Helper III
Helper III

Create row based data so table matrix can be created

I need to create a table that looks like the below but I can't because my data is structured differently

Output I want:


How my data is structured:


The 2 metrics listed are calculated measures for the actuals and for the targets they are all seperate metrics so my data doesn't know that Quote Start actual and Quote Start Target link up to make the table look like the above. I read about the power kpi visual and it says you have to have your data structured as row based? Is there a way to do this or an alternative to the power kpi visual?


Community Support
Community Support

Hi @jnrezk ,


According to your expected output, you may need a new table with a column of "Current" and "Previous".

But without some data sample, I could not clarify your scenario. So please provide me with more details about your table or share me with your pbix file after removing sensitive data.


Refer to

How to provide sample data in the Power BI Forum - Microsoft Power BI Community

How to Get Your Question Answered Quickly - Microsoft Power BI Community


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

Helper III
Helper III

Can anyone else please help me with this issue? Thanks

Super User
Super User

@jnrezk , To me seems like measure to measure and dimension conversion


using a table like


summarize('Table',"Measure","sales","This period",[SALES YTD],"Last period",[SALES LYTD],"POP",[SALES YOY])
summarize('Table',"Measure","unit","This period",[unit YTD],"Last period",[unit LYTD],"POP",[unit YOY])



summarize('Table','Table'[country],"Revenue","sales","This period",[Revenue YTD],"Last period",[Revenue LYTD],"POP",[Revenue YOY])
summarize('Table','Table'[country],"Costs","unit","This period",[Costs YTD],"Last period",[Costs LYTD],"POP",[Costs YOY])

!! Microsoft Fabric !!
Microsoft Power BI Learning Resources, 2023 !!
Learn Power BI - Full Course with Dec-2022, with Window, Index, Offset, 100+ Topics !!
Did I answer your question? Mark my post as a solution! Appreciate your Kudos !! Proud to be a Super User! !!

Not sure this is what im after 

Helpful resources

Exciting changes

Power BI Community Changes

Check out the changes to the Power BI Community announced at Build.

May 2023 update

Power BI May 2023 Update

Find out more about the May 2023 update.

Top Solution Authors