Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello everyone,
I'm very new to Dax and powerBI so working my way around it.
Presently I'm trying to show the data in another column based on todays date.
The below DAX xommand which doesn't work:
PeriodNumber test = IF(Mars_Calendar[CalendarDate] = TODAY(), (Mars_Calendar[Period]))
I'm sure I'm missing something pretty basic but any help would be apperciated.
KR,
Rob.
@RezkinGaland Not clear what are you trying here. Can you share sample data and sample output in table format?
example
Is Today = if(Mars_Calendar[CalendarDate] =TODAY(),"Today",Mars_Calendar[CalendarDate] &"")
Thank you for your response.
CalendarDate is a column that dynamically keeps to todays date. What I then want to do is based on todays date in calendar date, show the correspondingcontents in the field 'PeriodNum'.
So if 'CalendarDate' = TODAY(), show the 'PeriodNum' data.
Hopefully that makes sense.
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
22 | |
7 | |
6 | |
6 | |
6 |
User | Count |
---|---|
27 | |
10 | |
10 | |
9 | |
6 |