Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!
Hi Export,
I have date Range slicer and Month_year,Value columns there in table
I need table format should be like S.No,Month_year,Value in table
S.No i need create new column/Measure
S.No should be start 1
example: if I am selected date range is 01-10-2022 to 15-10-2022 its availble 100 records the S.No should be 1 to 100
if 15-10-2022 to 31-10-2022 then avalbel records 10 should be S.No 1 to 10
Thanks
Shanvitha
Solved! Go to Solution.
@Shanvitha_V , Assume date is used in visual
calculate(distinctcount(Table[Date]) , filter(allselected(Table), Table[Date] <= max(table[Date])) )
@Shanvitha_V , Assume date is used in visual
calculate(distinctcount(Table[Date]) , filter(allselected(Table), Table[Date] <= max(table[Date])) )
| User | Count |
|---|---|
| 51 | |
| 38 | |
| 33 | |
| 22 | |
| 19 |
| User | Count |
|---|---|
| 136 | |
| 101 | |
| 58 | |
| 36 | |
| 35 |