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
Carousel_PBI_Wave1

2023 Release Wave 1 Plans

Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.

Power BI Summit Carousel 2

Global Power BI Training

Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!

Thank you 2022 Review

2022 Monthly Feature Releases

We had a great 2022 with a ton of feature releases to help you drive a data culture.

Top Solution Authors
Top Kudoed Authors