I have a table with a column of Month NUmber and a column for Year. I want to make a date column for the 1st of the month. The new column I want to be formatted [Month Number]/1/[Year]
Example: the second row is February 2021. I want the new date column to look like 2/1/2021.
Solved! Go to Solution.
@DSwezey this was to be done in PQ.
For DAX use this
Column = DATE('Table'[Year],'Table'[Month Number],1)
Proud to be a Super User!
New Animated Dashboard: Sales Calendar
@DSwezey this was to be done in PQ.
For DAX use this
Column = DATE('Table'[Year],'Table'[Month Number],1)
Proud to be a Super User!
New Animated Dashboard: Sales Calendar
@DSwezey create a new column as
#date([Year],[Month Number],1)
and then format as you wish through DAX
Proud to be a Super User!
New Animated Dashboard: Sales Calendar
I get this error when adding the custom column.
date <> #date
change
date([Year],[Month Number],1)
to (as written by @smpa01 )
#date([Year],[Month Number],1)
Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.
Welcome to the Power BI Community Show! Jeroen ter Heerdt will talk about the importance of Data Modeling.
User | Count |
---|---|
136 | |
25 | |
19 | |
10 | |
9 |
User | Count |
---|---|
146 | |
38 | |
30 | |
18 | |
17 |