Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hi All,
I am facing few issues in cumulative sum:
Below is my fact table and i have created a calender dimension table for the same as below :
Fact:
ID | BA_ID | Amount | Date |
1 | 1 | 10 | 10/10/2010 |
2 | 1 | 20 | 10/11/2010 |
3 | 1 | 30 | 10/11/2010 |
4 | 1 | 40 | 10/13/2010 |
5 | 1 | 50 | 10/14/2010 |
6 | 1 | 60 | 10/11/2010 |
7 | 2 | 70 | 10/16/2010 |
8 | 2 | 80 | 10/17/2010 |
9 | 2 | 90 | 10/11/2010 |
10 | 2 | 100 | 10/19/2010 |
11 | 2 | 110 | 10/20/2010 |
12 | 2 | 120 | 10/21/2010 |
13 | 2 | 130 | 10/22/2010 |
14 | 2 | 140 | 10/23/2010 |
15 | 3 | 150 | 10/24/2010 |
Date |
10/5/2010 |
10/6/2010 |
10/7/2010 |
10/8/2010 |
10/9/2010 |
10/10/2010 |
10/11/2010 |
10/12/2010 |
10/13/2010 |
10/14/2010 |
10/15/2010 |
10/16/2010 |
10/17/2010 |
10/18/2010 |
10/19/2010 |
10/20/2010 |
10/21/2010 |
10/22/2010 |
10/23/2010 |
10/24/2010 |
I have created a sum measure : total Amount = sum(fact(amount))
Then i am creating another measure for putting it on trend chart :
Trend Sum = Calculate ([Total AMount],Filter (All(fact),fact(ba_id)=1),
Filter (values(date),date(date)<=max(date[date])))
this is not giving me cumulative sum.
Solved! Go to Solution.
Hi,
All function does not fetch correct result in SSAS tabular modelling, i replaced Values with Allselected and it worked.
Thanks for the help 🙂
Hi,
All function does not fetch correct result in SSAS tabular modelling, i replaced Values with Allselected and it worked.
Thanks for the help 🙂
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
84 | |
76 | |
73 | |
42 | |
36 |
User | Count |
---|---|
109 | |
56 | |
52 | |
48 | |
43 |