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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
LamSar
Helper III
Helper III

Calculate incremented sales due to a promotion

Good morning,

 

I have a question about 2 calculations I have to make.

The requirements are:

- Calculate average sales 4 weeks before the start of the promotion and 4 weeks after the end of the promotion (Calculation A-

- Calculate the sales during the promotion (Calculation B)

- Incremented sales = Calculation B - Calculation A

 

The table.fields to be used are:

- Date from = Datum[datumVan]

- Date to = Datum[DatumTot]

- ArticleDescription = RetailArtikel[Description]

- Total Sales = CALCULATE(SUM(Verkoop[BedragInclBTW]),ALL(Promotie))

 

I have no idea on how to do this.

 

Any suggestions?

1 REPLY 1
amitchandak
Super User
Super User

@LamSar ,
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Fabric Monthly Update - May 2024

Check out the May 2024 Fabric update to learn about new features.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.