Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hello!
I have a meaure called CL which has distinct vaues to a respective Simulation Number.
| Simulation Number | CL Measure |
| 32 | 300 |
| 33 | 213 |
I have another table called Index which has an Index Column with values 1 - 100000. I hope to link my measure CL to the Index Table in an Ascending Order. So that the lowest value of CL Measure is linked to Index 1 and so on.
| Index | CL Measure | Simulation Number |
| 1 | 213 | 33 |
| 2 | 300 | 32 |
Kindly help if possible.
Thank you.
@Jimmy801 @parry2k @amitchandak @sanalytics @Anonymous
Solved! Go to Solution.
Hi @Anonymous ,
Measure is dynamic, and the table is fixed, so the Measure cannot establish a relationship with the table.
You can use the RANKX function.
Index = RANKX(ALL('Table'),CALCULATE([CL Measure]),,ASC,Dense)
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
Measure is dynamic, and the table is fixed, so the Measure cannot establish a relationship with the table.
You can use the RANKX function.
Index = RANKX(ALL('Table'),CALCULATE([CL Measure]),,ASC,Dense)
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous , Based on what I got.
With a measure like this you can use index in visual or as filter
sumx(filter(values(Simulation Number),Table[Measure] = Table2[Index]),[Measure])
As of now I treated as segmentation - https://youtu.be/CuczXPj0N-k
Hello Amit, thank you for taking the time to reply.
I may be missing something, but was not able to understand your formula. I do not understand what Table[Measure] refers to.
Please clarify if possible.
Thanks
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 |
|---|---|
| 48 | |
| 43 | |
| 39 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 68 | |
| 63 | |
| 31 | |
| 30 | |
| 23 |