Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
Morning,
I have a report that provides various HR info, one of the reports is regarding leavers, my data is stored and connected via excel and at the minute anything where I want to see only this month's figure I have to go in and manually input the month to change the figure it picks up from Excel.
Is it possible to have this automatically done when I refresh the report, so it picks up what month we are in and updates the figure accordingly?
Thanks
Solved! Go to Solution.
Hi @dbrown2002 ,
Add a month colum in your data either in DAX or M and use that to filter your visuals. Sample DAX calc column:
Month =
FORMAT ( 'table'[date], "mmmm" )
The above column will return text strings and will be sorted alphabetically. Create another calc column to sort your month column by
Month Sort =
MONTH ( 'table'[date] )
Please refer to this link for custom column sort - https://radacad.com/sort-by-column-in-power-bi
Calculates the current year and month in variables within the measure
VAR vYear= Year(Now())
VAR vMonth= Month(Now())
In the filter section, add the two respective conditions.
For a next one, copy the formula into the question description so you can easily replicate it. Don't use an image.
Hi @dbrown2002 ,
Add a month colum in your data either in DAX or M and use that to filter your visuals. Sample DAX calc column:
Month =
FORMAT ( 'table'[date], "mmmm" )
The above column will return text strings and will be sorted alphabetically. Create another calc column to sort your month column by
Month Sort =
MONTH ( 'table'[date] )
Please refer to this link for custom column sort - https://radacad.com/sort-by-column-in-power-bi
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 58 | |
| 53 | |
| 40 | |
| 17 | |
| 16 |
| User | Count |
|---|---|
| 116 | |
| 105 | |
| 41 | |
| 34 | |
| 25 |