简体   繁体   中英

Shamsi date in power bi

how to write this command in power bi?

format('fire Fires'[Acceptance Letter Date]؛"dd/MM/yyyy"؛"fa") 

I want to change miladi date to shamsi date? This command is correct in sql server but it doesn't work in power bi.

If your local culture is set to fa-IR, I believe you should just be able to do something like this in powerquery

#"Changed Type" = Table.TransformColumnTypes(#"PriorStepNameHere",{{"ColumnNameHere", type date}} , "en-US")

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM