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!
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
144 | |
74 | |
63 | |
51 | |
48 |
User | Count |
---|---|
211 | |
86 | |
64 | |
59 | |
56 |