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

Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now

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
OCT PBI Update Carousel

Power BI Monthly Update - October 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

October NL Carousel

Fabric Community Update - October 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors