Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. 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 |
---|---|
82 | |
78 | |
67 | |
46 | |
45 |
User | Count |
---|---|
105 | |
44 | |
39 | |
39 | |
39 |