Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

Top Solution Authors
Top Kudoed Authors