This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowJuly 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more
To get the "Category" field as it is displayed in the Pivot table(sheet 5), i do a vlook in excel. With sheet 3, columns A, B with sheet 1. Vlookup Formula - =VLOOKUP(C4;Sheet3!A:B;2;0)
Excel sheet:https://drive.google.com/file/d/1RuGYLbC7zj0XR22cTdHRwNk6PPuAyqNW/view?usp=sharing
How do i replicate this in Powerbi?
Solved! Go to Solution.
is this what you want?
Column = LOOKUPVALUE('Sheet3'[Column2],Sheet3[Column1],Sheet1[SKUs])
please see the attachment below
Proud to be a Super User!
Thank You for all the replies. Ultimately, i would like to devide sheet 5, see https://drive.google.com/file/d/1RuGYLbC7zj0XR22cTdHRwNk6PPuAyqNW/view?usp=sharing
with sheet 3 see: https://drive.google.com/file/d/1DnuEu7agxi4xBo6Sp-RkdH4PztyWFpgx/view?usp=sharing
to get the output as in sheet https://drive.google.com/file/d/1DnuEu7agxi4xBo6Sp-RkdH4PztyWFpgx/view?usp=sharing
On page 2, Columns A - M, Rows 6,7 8.
See PBIX: https://drive.google.com/file/d/1HCoYlPrhBQKuvWb-TpOBbDBEnv0BV0Sj/view?usp=sharing
@Yrstruly2021 you can use the CALCULATE function.
Calculated column = CALCULATES(MAX(yourcolumn), FILTER(tablewhereyouwanttotakevalue, thistable[columntojoin1] = tablewhereyouwanttotakevalue[columntojoin1]))
tell us if this works for you
is this what you want?
Column = LOOKUPVALUE('Sheet3'[Column2],Sheet3[Column1],Sheet1[SKUs])
please see the attachment below
Proud to be a Super User!
Thank you, this is exactly what i want. How do i get my months in the columns as in this example? https://drive.google.com/file/d/1QwfV0DWBc_5B68K45g-fT6Z1DjiXsLHY/view?usp=sharing
use matrix visual and put month column in the columns field
Proud to be a Super User!
In your model you join the two tables together on the SKU field then add the category field to your visual. No need to move the category over to the sales table.
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!
Check out the July 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 25 | |
| 23 | |
| 20 | |
| 18 | |
| 14 |
| User | Count |
|---|---|
| 24 | |
| 20 | |
| 20 | |
| 19 | |
| 19 |