The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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 |
PeopleID | Diploma |
1 | A |
1 | B |
3 | A |
Solved! Go to Solution.
Hi @Dmoetnogleren ,
You can try below calculated column expression.
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~
Hi @Dmoetnogleren ,
You can try below calculated column expression.
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!
User | Count |
---|---|
27 | |
12 | |
8 | |
8 | |
5 |
User | Count |
---|---|
31 | |
15 | |
12 | |
7 | |
7 |