Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and a 50 percent discount on exams.
Get startedEarn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
I need to create two measures that each calculate the cumulative sum from the earliest data (date from will never change) up to user set dates. For the final result, I want a table that combines the two in the blue box below. Categories down the side and each measure in a column showing the cumulative sum.
I've read the dax patterns page, especially the "First and last date with data" section. I've tried several times, using Between Slicer and two individual slicers, but just can't get the slicer filters and measure filters to play nice and get the dates set correctly.
Test Data used above:
Date | Category | Value |
1/1/2022 | A | 10 |
2/1/2022 | A | 10 |
3/1/2022 | A | 10 |
4/1/2022 | A | 10 |
5/1/2022 | A | 10 |
6/1/2022 | A | 10 |
7/1/2022 | A | 10 |
8/1/2022 | A | 1000000 |
1/1/2022 | B | 10 |
3/1/2022 | B | 10 |
5/1/2022 | B | 10 |
7/1/2022 | B | 10 |
8/1/2022 | B | 10 |
Thanks y'all!
Solved! Go to Solution.
Hi @JP-Siloam , Try the attached solution. It uses disconnected date tables as the slicers. I've written the first measure as an example.
https://drive.google.com/file/d/10CZLxgMtiF47gwT3ctop6t0U_JgX6zqD/view?usp=sharing
Did I help you today? Please accept my solution and hit the Kudos button.
Thanks Dave! That worked perfectly!
Hi @JP-Siloam , Try the attached solution. It uses disconnected date tables as the slicers. I've written the first measure as an example.
https://drive.google.com/file/d/10CZLxgMtiF47gwT3ctop6t0U_JgX6zqD/view?usp=sharing
Did I help you today? Please accept my solution and hit the Kudos button.
User | Count |
---|---|
94 | |
89 | |
79 | |
77 | |
71 |
User | Count |
---|---|
116 | |
107 | |
88 | |
64 | |
63 |