Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
I have a simple table visual that users drill thru to, and added a row number column to label each row in the table. I created an index column and am using this in my DAX fomula.
Row Number=
CALCULATE(
COUNTROWS('Table'),
FILTER(ALLSELECTED('Table'), 'Table'[Index] <= MAX('Table'[Index]))
)
The results in the table shows the correct number of rows, but the row number column is sometimes being incremented by a number more than 1:
I use this DAX formu; a lot with no issues, but for some reson it skips. Any thoughts?
maybe you can try
Row Number=
CALCULATE(
COUNTROWS('Table'),
FILTER(ALLSELECTED('Table'), 'Table'[Index] <= MAX('Table'[Index]))
)+0
or show items with no data
Proud to be a Super User!
Unfortunately, that did not help. It made the value zero for every record in the table
could you pls provide some sample data?
Proud to be a Super User!
User | Count |
---|---|
86 | |
82 | |
68 | |
66 | |
55 |
User | Count |
---|---|
123 | |
100 | |
90 | |
83 | |
66 |