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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
TungNguyen_19
Helper III
Helper III

What does this expression of FIRSTNONBLANK function do?

Hi everyone,

I received legacy Power BI report and in there I found this calculated column fomular:

USERGROUP =  IF(SystemLogs[Source] <> "Auto", FIRSTNONBLANK('ac Users'[TYPE GROUPS] , 0), "System") 

'SystemLogs' contains this calculated column and these tables have relationship:

TungNguyen_19_0-1703822810702.png

In normal way I usually use is add other column which check Blank value for the function FIRSTNONBLANK but this function still work with scalar value? I have change the number to bigger than 2 and the result returns the same. What does this expression works? Can anyone else face to this use?

1 REPLY 1
Fowmy
Super User
Super User

@TungNguyen_19 

Using FIRSTNONBLANK('ac Users'[TYPE GROUPS] , 0) in this case is same as MIN( 'ac Users'[TYPE GROUPS]  ). 
If an expression that returns a calucaltion is used in FIRSTNONBLANK in place of 0 then using it makes sense.


Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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.

Top Solution Authors
Top Kudoed Authors