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

July 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more

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

 

3 REPLIES 3
PBIdashboards
Post Patron
Post Patron

For the P&L drill-down layout with CY vs LY variance, the cleanest native approach is a Matrix with rows as your product hierarchy and columns as CY/LY measures. For the drill-through on variance column, you'd set up a separate detail page with cross-report drill-through.

One thing worth knowing: if brand managers need to explore different cuts of the data themselves (swap rows/columns, add DoD/MoM) without coming back to you, Flexa Tables (AppSource) handles this without rebuilding anything variance columns and period comparison are built-in, no DAX needed.

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

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

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.

Top Solution Authors