Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
I have a simple set of data
I created a matrix visual
added slicers
now i want to add serial number.
How do i do this.
I tried using the below DAX code but it isn't helping. Please help
Row_Number =
CALCULATE (
COUNTROWS(Details),
FILTER ( ALLSELECTED ( Details), Details[Project] <= MAX ( Details[Project]) )
)
Solved! Go to Solution.
Hi @laxmikantpatil ,
Please update your measure as below.
Row_Number =
CALCULATE (
DISTINCTCOUNT(Details[Project]),
FILTER ( ALLSELECTED ( Details), Details[Project] <= MAX ( Details[Project]) )
)
Hi @laxmikantpatil ,
Please update your measure as below.
Row_Number =
CALCULATE (
DISTINCTCOUNT(Details[Project]),
FILTER ( ALLSELECTED ( Details), Details[Project] <= MAX ( Details[Project]) )
)
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.