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
AlanP514
Post Patron
Post Patron

Creating Column

Hai Guys I am New to DAX Please help me 

I have a table certification logs and I have column named certifications it has different values 1 star. 2 star, 3 stars,
I want to create a calculated column only with 1-star certifications
At the power query level, we can do it, but I am searching DAX level

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi  @AlanP514 ,

I created some data:

vyangliumsft_0-1648524798534.png

Here are the steps you can follow:

Create calculated column.

New Column =
IF(
    'Table'[certifications]="1 star",'Table'[certifications],BLANK())

vyangliumsft_1-1648524798534.png

Or you can create a calculated table:

Table 3 =
FILTER(ALL('Table_Copy'),'Table_Copy'[certifications]="1 star")

vyangliumsft_2-1648524798537.png

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi  @AlanP514 ,

I created some data:

vyangliumsft_0-1648524798534.png

Here are the steps you can follow:

Create calculated column.

New Column =
IF(
    'Table'[certifications]="1 star",'Table'[certifications],BLANK())

vyangliumsft_1-1648524798534.png

Or you can create a calculated table:

Table 3 =
FILTER(ALL('Table_Copy'),'Table_Copy'[certifications]="1 star")

vyangliumsft_2-1648524798537.png

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

Thank you for your solution , This will work

amitchandak
Super User
Super User

@AlanP514 , A new column like

if([certifications] ="1 star", True(), false())

 

If this does not help
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

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
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