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.
With which measure can I calculate the total of a selected year, ignoring a selected date range?
Explanation: In a orderbook I select a daterange to compare the orders of this year with last year.
But I also need a formula to calculate the total of the orderbook, ignoring the selected date range, but using the selected year.
Solved! Go to Solution.
Hi, @haraldjw
I am not sure how your measure looks like, but try something like below.
New measure =
CALCULATE (
[your measure],
FILTER (
ALL ( 'your datetable' ),
[datetable year column] = MAX ( [your selected year] )
)
)
Hi, My name is Jihwan Kim.
If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.
Linkedin: https://www.linkedin.com/in/jihwankim1975/
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
Hi, @haraldjw
I am not sure how your measure looks like, but try something like below.
New measure =
CALCULATE (
[your measure],
FILTER (
ALL ( 'your datetable' ),
[datetable year column] = MAX ( [your selected year] )
)
)
Hi, My name is Jihwan Kim.
If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.
Linkedin: https://www.linkedin.com/in/jihwankim1975/
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
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 |
---|---|
109 | |
96 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
102 | |
88 | |
63 |