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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
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 |
---|---|
15 | |
11 | |
6 | |
6 | |
5 |
User | Count |
---|---|
29 | |
17 | |
11 | |
7 | |
5 |