Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi all,
I created a calculated column to get the current date and put it in a slicer to have TODAY by default. Then I added other calculated columns with a month name and year. The problem is when the current date hits the next month it can't roll over and is stuck in the same month. So I have to pick another "Today" in the next month.
The logic in my columns is straightforward.
Solved! Go to Solution.
@powerbiuser444 Use more than one slicer. One for year, one for month and one for date/today. Not ideal?
@powerbiuser444 Seems like this has to do about having a hierarchy in your slicer. If you look at the Data view for your table I imagine that you do not actually have any dates in July flagged with Today?
Hi @Greg_Deckler yes, it's true. July's 'Today' is empty, once I manually pick August's 'Today', July's 'Today' disappears. So this logic works only within a month, the 'Today' flag doesn't roll over to the next month.
@powerbiuser444 That's what I figured. The issue is the use of the hierarchy in the slicer, not the DAX code or anything like that. If you didn't have the hierarchy, you wouldn't have the problem...
@Greg_Deckler I understand that but how can I combine month and date? If I want to see the whole month selecting 30 days is not an option
@powerbiuser444 Use more than one slicer. One for year, one for month and one for date/today. Not ideal?
@Greg_Deckler if it's the only option then okay, not ideal but what can I do. Anyway thanks for your replies
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
14 | |
11 | |
10 | |
10 | |
9 |
User | Count |
---|---|
18 | |
13 | |
12 | |
11 | |
8 |