March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
I've a table sales like
idcustomer | year of birth | amount | salesdate | next processingdate | new processingdate |
12 | 1970 | 120 | 12/03/2022 | 15/04/2022 | 17/03/2022 |
13 | 1975 | 140 | 13/03/2022 | 18/04/2022 | 23/03/2022 |
14 | 1980 | 160 | 14/03/2022 | 21/04/2022 | 29/03/2022 |
15 | 1985 | 180 | 15/03/2022 | 24/04/2022 | 04/04/2022 |
there are 2 columns New_processing_date and next_processing_date that I need a timeline how many of sales that it is each day
Something like this but I dont think I got it right, how to correct it please?
Solved! Go to Solution.
Hi,
My advice would be to use a date table (easy and quick to build, like this) and make a relationship with your Sales date. Then make a second relation from New Processing date and your date table.
This 2nd relationship will be inactive (dashed line), but to use that relation use the function USERELATIONSHIP.
I don't know your structure but it will be something like this :
To SUM using the sales date and building your table with date coming from date table :
SUM( [Salesamount] )
or for SUM using the NewProcessingDate :
CALCULATE( SUM( [Salesamount] ) , USERELATIONSHIP( [NewProcessingDate] , DateTable[Date] ) )
Hi,
My advice would be to use a date table (easy and quick to build, like this) and make a relationship with your Sales date. Then make a second relation from New Processing date and your date table.
This 2nd relationship will be inactive (dashed line), but to use that relation use the function USERELATIONSHIP.
I don't know your structure but it will be something like this :
To SUM using the sales date and building your table with date coming from date table :
SUM( [Salesamount] )
or for SUM using the NewProcessingDate :
CALCULATE( SUM( [Salesamount] ) , USERELATIONSHIP( [NewProcessingDate] , DateTable[Date] ) )
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
120 | |
77 | |
60 | |
54 | |
40 |
User | Count |
---|---|
191 | |
103 | |
87 | |
61 | |
50 |