The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hi !
I'm stucked with a problem I hope someone in the community can help with...
I need to group my sales data so I know what is "Current", "Previous", "Fixed" and "Clearance". I need to base it on campaign numbers so that 2209 eg. is current and 2208 is previous, 2206 Clearance etc.
I have a dates lookup table and the campaign codes are connected as a many-1 relationship between the sales table and product data lookup table with the SKU as the KEY.
Hope somebody can point me in the right direction
/Jonas
Create a new dimension table for Campaigns, with Campaign Name and Campaign Code as the columns, and a sort order column if needed, with one row per Campaign Code, and then link that to your product table as one-to-many. You can then use the Campaign Name column in any visuals and that will group your sales automatically.
User | Count |
---|---|
26 | |
10 | |
8 | |
6 | |
6 |
User | Count |
---|---|
32 | |
13 | |
10 | |
10 | |
9 |