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,
I have this filter that takes out the dates past today, but I cant get it to do at the the month level.
Hi @Anonymous
You want this line hidden?
Proud to be a Super User!
I used a dummy data with a similar data model as yours (probably) and the measure below works fine
YTD2 =
IF (
MAX ( Dates[Date] ) <= TODAY (),
CALCULATE (
SUM ( 'Table'[Value] ),
FILTER ( ALLSELECTED ( Dates[Date] ), Dates[Date] <= MAX ( 'Dates'[Date] ) )
)
)
Here's a sample pbix
https://drive.google.com/file/d/1DdI_SAgjNwchVCdIevXvGmhLfVwn6i5V/view?usp=sharing
Proud to be a Super User!
Hi @danextian
Thanks for the help. I tried that formula and it looks like it is pulling all the units? Not sure. I have a measure in Calculate instead of a sum of a column though.
Thanks!
Trevor
What do you mean by "it is pulling all the units"? Can you please share a sanitzed pbix of your data model?
Proud to be a Super User!
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 |
---|---|
110 | |
94 | |
80 | |
67 | |
59 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |