Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi there
I am new to BI and have the below format of table in Data.
| Sales | FY | FM |
| 500 | 2021 | May |
| 600 | 2021 | Jun |
skipped 50000 rows
System doesn't read it as date and i am struggled to compare. Could anyone advise please?
Thanks
F
Solved! Go to Solution.
Hi @felix-chong
You can use DAX or M, here is a column in DAX
Date = DATEVALUE('Table'[FY]&"/"&'Table'[FM]&"/"&"1")And one in M
Date.From( "1."&[FM] &"."&Text.From([FY]))
Hi Vera_33
Thanks for the suggestions.
I tired and the following errors come up.How could i fix it please?
Thanks
F
Hi @felix-chong
You can use DAX or M, here is a column in DAX
Date = DATEVALUE('Table'[FY]&"/"&'Table'[FM]&"/"&"1")And one in M
Date.From( "1."&[FM] &"."&Text.From([FY]))
Hi Vera_33
Thanks for the suggestions.
I tired and the following errors come up.How could i fix it please?
Thanks
F
| User | Count |
|---|---|
| 15 | |
| 8 | |
| 6 | |
| 5 | |
| 5 |