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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
jaq
New Member

How to create an indexing column in table visualization

Hi guys,

 

I have two tables. One table contains all users, and the other is a subset sample.

 

jaq_0-1689907943451.png

I want to create a table visualisation that has the brand_category, the number of distinct hashed_emails in table 1 and the index. The index is calculated by (%GT of distinct hashed_emails in table 1) / (%GT of distinct hashed_emails in table 2) where table 1 is my index. This basically just tells me if a particular brand is over-indexing in my sample compared to the population.

 

I also want all filters and slicers on the page to affect this table.

 

I can easily create a table where I have the brand category, and the %GT from both tables, but I'm unable to do the calculation where I divide one by the other.

 

Can anybody help?

Cheers

 

1 REPLY 1
amitchandak
Super User
Super User

@jaq , Not very clear, but the new rownumber function can help

Power BI - New DAX Function: Rownumber- https://www.youtube.com/watch?v=yS9-IQjUDwg&list=PLPaNVDMhUXGYo50Ajmr4SgSV9HIQLxc8L&index=1

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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