Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hey community!
I am trying to get the top rows from a table to use in my measure and the requirnments are:
1) user will select how many rows they want to retrieve based on a single select numerical slicer
2) the table has a date column which consists duplicate values, the result set should contain UNIQUE values which are less than or equal to the date selected in the slicer(single select dropdown)
I have tried almost every table manipulation function but i am not able to fetch only the unique values from the table i will share the codes i have tried and if you can suggest a better approach or guide me where i am going wrong that would be very helpful!
1) TOPN(
Hi @akshansh99,
Can you please share a pbix or some dummy data that keep the raw data structure with expected results? It should help us clarify your scenario and test to coding formula.
How to Get Your Question Answered Quickly
Notice: please remove the sensitive data before share.
Regards,
Xiaoxin Sheng
User | Count |
---|---|
98 | |
90 | |
78 | |
71 | |
64 |
User | Count |
---|---|
112 | |
96 | |
95 | |
67 | |
65 |