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 there,
I have a couple of graphs which gets values from measure in the future. Because of this, graphs go on endlessly. My field of business is Recruitment and I have added formula-examples that I'm using, but with fictional data for demonstration.
2 examples
The only way I know of to have the X-Axis end on the current month is to use a month-filter and manually move it forward 1 month on the 1st of each month. Using a report-level filter is not an option for my situation, so I'm doing this on page level. This is timeconsuming because of the large number of pages.
Is there a way around this by changing my measures so it doesnt have any data in the future and the X-Axis automaticly ends on the current date?
Thanks a lot for taking the time to help!
Tom
Solved! Go to Solution.
Hi @TBenders,
In this scenario, you can add a IF statement to tell if the date on X-Axis is less or equal that current date(TODAY()) first, then show the value you want accordingly. The formula below is for your reference.
Candidates Contacted = IF ( MAX ( CalendarDisconnected[Date] ) <= TODAY (); CALCULATE ( COUNTROWS ( FILTER ( 'Applications'; 'Applications'[Status] = "Contacted" ) ) ) + 0 )
Regards
Hi @TBenders,
In this scenario, you can add a IF statement to tell if the date on X-Axis is less or equal that current date(TODAY()) first, then show the value you want accordingly. The formula below is for your reference.
Candidates Contacted = IF ( MAX ( CalendarDisconnected[Date] ) <= TODAY (); CALCULATE ( COUNTROWS ( FILTER ( 'Applications'; 'Applications'[Status] = "Contacted" ) ) ) + 0 )
Regards
Thanks a lot!
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 | |
99 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
102 | |
87 | |
64 |