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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
hidenseek9
Post Patron
Post Patron

A help needed with structuring a table visual

Hello Power BI Community,

 

I need a help with structuring a table and to do a variance analysis on product performance.

(PL tab specifically)

Sample BI data

 

I would like the final table in PL tab to look like a table in below excel data.

I would like to be able to drill down in Power BI on column to get the detail of where the performance gap is coming from.

Desired outcome

 

In the above dataset I have a lot of data, but I would like to focus on 2018 Jan - Mar on a brand called BIO.

 

I have several measures to calculate volume and Net Sales in CY (current year) and LY (Last year),

but beginning to think measures may not be the right way to approach this.

Perhaps, I need to unpivot the original dataset in query mode to have all values in one column like below screenshot.

2018-10-24 11_19_46-PL analysis - Power Query エディター.png

 

If any of above is not clear, please let me know.

Your help is much appreicated.

 

Many thanks,

H

 

2 REPLIES 2
v-juanli-msft
Community Support
Community Support

Hi @hidenseek9

Currently, i have unpivot the "volume and Net Sales" columns, the create a measure

Measure = CALCULATE(SUM(Sheet2[Value]),FILTER(Sheet2,[DATE].[MonthNo]>=1&&[DATE].[MonthNo]<=3))

8.png

 

I will update my reply nextday.

 

Best Regards

Maggie

@v-juanli-msft

 

Thank you Maggie.

I will wait for your response.

It will be great to do a variance analysis.

 

Thanks,

 

H

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.