Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi Community,
it would be Awsome if some one could Help me!
I try to Calculate the Previos last 7 days to caculate at the end an Day over day Calculation. At the end I wanted to see how high the Sales have increased oder decreased in the last seven day from today on.
Thanks for Help Guys
Boni
It is difficult to answe while you are not sharing anything about the model or the fields.
In general, you need to filter the data field so you will probably use a formula like this:
Last 7 Days Sales =
CALCULATE (
SUM ( [Sales] ),
FILTER ( ALL ( [Date Field] ), [Date Field] >= [Date Field] - 7 )
)
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
56 | |
27 | |
24 | |
14 | |
9 |
User | Count |
---|---|
77 | |
61 | |
47 | |
17 | |
12 |