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 creating a custom calendar in the query Editor I want to add a column that if the week number is >=14 then minus13 else add 39. I think I have to add a custom column but I don't know how to write the formula in M lanuage if I am correct in saying. I have tried the condition column but I don't think I can perform this task using it. I should mention that I have a week number column
If you can guide me in the right direction I would appreciate it
Thanks for your time
Solved! Go to Solution.
@Brendy_P , Power Query
new custom column
= if [week number] >=14 then [week number] -13 else [week number] +39
Thank you
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 |
|---|---|
| 57 | |
| 38 | |
| 33 | |
| 19 | |
| 16 |
| User | Count |
|---|---|
| 68 | |
| 66 | |
| 41 | |
| 34 | |
| 24 |