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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
hemann
Helper I
Helper I

Reference Maximum Text into table visual

Hi, 

I am wanting to create a table visual (as per below) for Top 5 series with measures. I have been successful except for 'most active state' calculation (refer circled). Below is the data used to summarise the table. It takes top 5 series (based on qty), total quantity for that series, most active state quantity, and the most active state (based on quantity). 

I have tried using Maxx to bring most active state without luck. Please help 

hemann_0-1649047381982.png

SeriesStateVolume
ANSW21
ASA60
AVIC7
BVIC50
CNSW10
DNSW7
ENSW22
EQLD177
FVIC19
GNSW50
HNSW10
INSW19
IVIC1950
JNSW820
JVIC7
KQLD11
LNSW14
MSA8
NNSW16
NVIC155

 

1 ACCEPTED SOLUTION
jdbuchanan71
Super User
Super User

@hemann 

Give this a try.

 

Most Active State =
FIRSTNONBLANK (
    TOPN ( 1, VALUES ( 'Table'[State] ), CALCULATE ( SUM ( 'Table'[Volume] ) ) ),
    1
)

 

jdbuchanan71_0-1649051226801.png

 

View solution in original post

2 REPLIES 2
hemann
Helper I
Helper I

Thanks worked a treat

jdbuchanan71
Super User
Super User

@hemann 

Give this a try.

 

Most Active State =
FIRSTNONBLANK (
    TOPN ( 1, VALUES ( 'Table'[State] ), CALCULATE ( SUM ( 'Table'[Volume] ) ) ),
    1
)

 

jdbuchanan71_0-1649051226801.png

 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.