We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Hi all, I am not sure if this is the right place to put this, I am converting a tableau file to power bi. in tableau i have a expression
Tableau Expression: DATE(DATEPARSE("dd.MMM.yyyy",[Reporting Day]+"."+[Reporting Month]+"."+[Tax Year]))
the above expression i want to convert to power BI . Can anyone help me in it.
Date Sample below:
Solved! Go to Solution.
Hey @jitendersingh ,
I don't know Tableau so well, but from the context I guess you want to create a date from the 3 columns.
Try the following calculated column:
Date Column =
VAR vMonthAsNumber =
SWITCH(
myTable[Reporting Month],
"JAN", 1,
"FEB", 2,
"MAR", 3,
"APR", 4,
"MAY", 5,
"JUN", 6,
"JUL", 7,
"AUG", 8,
"SEP", 9,
"OCT", 10,
"NOV", 11,
"DEC", 12
)
RETURN
DATE( myTable[Tax Year], vMonthAsNumber, myTable[Reporting Day] )
Hey @jitendersingh ,
I don't know Tableau so well, but from the context I guess you want to create a date from the 3 columns.
Try the following calculated column:
Date Column =
VAR vMonthAsNumber =
SWITCH(
myTable[Reporting Month],
"JAN", 1,
"FEB", 2,
"MAR", 3,
"APR", 4,
"MAY", 5,
"JUN", 6,
"JUL", 7,
"AUG", 8,
"SEP", 9,
"OCT", 10,
"NOV", 11,
"DEC", 12
)
RETURN
DATE( myTable[Tax Year], vMonthAsNumber, myTable[Reporting Day] )
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 53 | |
| 38 | |
| 33 | |
| 17 | |
| 17 |
| User | Count |
|---|---|
| 67 | |
| 62 | |
| 38 | |
| 34 | |
| 22 |