Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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!
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
112 | |
97 | |
84 | |
67 | |
59 |
User | Count |
---|---|
150 | |
120 | |
99 | |
87 | |
68 |