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.
I have a simple line chart that needs to change to the current month each month. Currently I deal with this by on the start of each month I change the data range to the current start and end date of the current month. Is there a way to get PowerBI to do this automatically based on the current month? See screen shot below
Solved! Go to Solution.
Hi @Anonymous ,
We can create a measure as below and make the visual filtered by it.
Measure 2 = var ym = FORMAT(TODAY(),"yyyymmm")
var ymi = FORMAT(MAX('date'[Date]),"yyyymmm")
return
IF(ym=ymi,1,BLANK())
Hi @Anonymous ,
We can create a measure as below and make the visual filtered by it.
Measure 2 = var ym = FORMAT(TODAY(),"yyyymmm")
var ymi = FORMAT(MAX('date'[Date]),"yyyymmm")
return
IF(ym=ymi,1,BLANK())
Tahnks so much. Can you give me more background on what a Measure is and how it's used conceptually?
You are already using relative date level filter in filter panel, is that not working for you?
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 |
---|---|
106 | |
104 | |
77 | |
68 | |
61 |
User | Count |
---|---|
148 | |
107 | |
106 | |
82 | |
70 |