cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
GuestUser
Helper V
Helper V

Serial Number in a Report

Hi,

 

We have created a report in Power BI 

Datasource : Connect Live to SSAS Tabular Model

 

We need one column to display Serial Number (Row Num) in a report 

Add Index is disabled -- since we are using connect Live option

 

Can you pls suggest?

1 REPLY 1
v-lili6-msft
Community Support
Community Support

hi  @GuestUser 

Since your data source is SSAS Tabular Model, you could only create measure for this report in power bi,

you could try these two ways:

1. Add an index column in SSAS Tabular Model.

2. Use RANKX Function to create a rank measure and use it as a Serial Number.

https://docs.microsoft.com/en-us/dax/rankx-function-dax

https://www.sqlbi.com/articles/use-of-rankx-in-power-bi-measures/

 

Regards,

Lin

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Top Solution Authors
Top Kudoed Authors