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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
addlahta
Frequent Visitor

Help with my Data Model - Comparing Prices

I am building a report, and my Data Model is causing me a headache

I have 6 Tables

Promo's TW - Columns: PromoID, Discount %, Start Date, End Date and Dept
All Promo Tables (all promos in the DB) - Columns: PromoID, SKU, SKU Price, Start Date, End Date
SKU Price History - Columns: Date, SKU, Lowest Price, Dept
Date Table (Unique Dates)
SKU Table (Unique SKU's)

DeptTable - Department Id, Est. Days

The ID is that For each Promo in PROMO TW i want to show:
The SKU's contained in the Promo
the Start Date
Measure: Lowest Price for that SKU based for dates between 'Start Date minus Est.Days' and 'Start Date minus 1)
SKU Promo Price (from the All Promos Table)
SKU Promo Price divided by the LOWEST PRICE Measure above

Below is a rough sketch of the Model I have

addlahta_0-1680567745900.png

 




0 REPLIES 0

Helpful resources

Announcements
Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.