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
Dmoetnogleren
Regular Visitor

Help with new colomn and DAX formula

Hello,

 

I have two tables, one DIM table with different peopleID's , one FACT table with  people ID's and diploma's. I want to create two new columns in the DIM table. One with 'has got diploma A' (true/false) and one with 'has got diploma B" (true/false). Can anyone suggest how to do this? I think this is not difficult for anyone with PBI experience, but I have just started. 

 

PeopleID
1
2
3

 

PeopleIDDiploma
1A
1B
3A
1 ACCEPTED SOLUTION
xifeng_L
Super User
Super User

Hi @Dmoetnogleren ,

 

You can try below calculated column expression.

 

xifeng_L_0-1716978620434.png

 

xifeng_L_1-1716978628541.png

 

has got diploma A = CALCULATE("A" IN VALUES('Fact'[Diploma]))

 

 

Did I answer your question? If yes, pls mark my post as a solution and appreciate your Kudos !

 

Thank you~

 

 

View solution in original post

2 REPLIES 2
xifeng_L
Super User
Super User

Hi @Dmoetnogleren ,

 

You can try below calculated column expression.

 

xifeng_L_0-1716978620434.png

 

xifeng_L_1-1716978628541.png

 

has got diploma A = CALCULATE("A" IN VALUES('Fact'[Diploma]))

 

 

Did I answer your question? If yes, pls mark my post as a solution and appreciate your Kudos !

 

Thank you~

 

 

Thank you, this is a good solution!

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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