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.
Hello,
I am trying to limit the time interval in a Gantt chart to the previous month, the current month, and the next month.
Here is what I have tried so far:
1. Created a formula to calculate the previous month and next month:
Previous Month:
Solved! Go to Solution.
Hi @rosie1931 ,
The best option is to create a flag column where you identify if the values of the dates are within the previous, same and next month, then just filter out your gant based on that flag column.
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsThank you, Miguel.
Hi @rosie1931 ,
The best option is to create a flag column where you identify if the values of the dates are within the previous, same and next month, then just filter out your gant based on that flag column.
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHi Miguel,
I created the columns in M query, which were not accessible for the visualization. Is that typically the case?
Hi @rosie1931 ,
What do you mean were not accessible for visualization?
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsI created the measure for the current month, previous month, and the quarter in M query. When I clicked to apply, those columns did not appear for me to use in the document's visualization.
How is the code of that column in M?
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsI had opened the query editor and chose 'Custom Column.' I went back to the data view and then was able to make those formulas and it worked. Thank you for getting back to me.
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 |
---|---|
104 | |
95 | |
80 | |
67 | |
62 |
User | Count |
---|---|
147 | |
109 | |
107 | |
85 | |
63 |