cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
jnrezk
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:

jnrezk_0-1645612308476.png

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?
Thanks!

 

4 REPLIES 4
v-eqin-msft
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.

jnrezk
Helper III
Helper III

Can anyone else please help me with this issue? Thanks

amitchandak
Super User
Super User

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

 

using a table like

 

union(
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])
)

 

 


union(
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])
)

Not sure this is what im after 

Helpful resources

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors