Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi Community,
I need a Custom Column whereas
Index Column=1 then Custom = 1,
Index Column=2 then Custom = 2,
Index Column=3 then Custom = 3,
Index Column=4 then Custom = 1,
Index Column=5 then Custom = 2,
Index Column=6 then Custom = 3 and so on.
Please do favour if you would help me
Solved! Go to Solution.
Use this function: https://docs.microsoft.com/en-us/powerquery-m/number-mod
or via the UI
Did I answer your question correctly? Mark my answer as a solution!
Proud to be a Datanaut!
Hi @Sowmiya
Try this custom Column
=if Number.Mod([Index],3) = 0 then 3 else Number.Mod([Index],3)
Hi @Sowmiya
Try this custom Column
=if Number.Mod([Index],3) = 0 then 3 else Number.Mod([Index],3)
Use this function: https://docs.microsoft.com/en-us/powerquery-m/number-mod
or via the UI
Did I answer your question correctly? Mark my answer as a solution!
Proud to be a Datanaut!
User | Count |
---|---|
114 | |
74 | |
56 | |
47 | |
38 |
User | Count |
---|---|
167 | |
119 | |
61 | |
58 | |
53 |