Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi,
I am new to Power BI and at the moment trying to figure out how to detemine dual registrations of teacher data that we have on CRM online.
We've got 'Registration' data of teachers. Some are only 'teachers' and some are only 'ECTs's. But some are 'Dual's meaning they have bot 'Teacher' and 'ECT' registrations.
What I want is a new column ( like "Reg Type_2" as depicted below) indicating whether a teacher is purely a Teacher/ ECT or a Dual. If they are 'dual' they have two registartions records in the registration table with their respective registration type under the same registration number.
Pls see below a sample data set.
Contact | Reg Number | Reg Type | Reg type_2 |
Aaron | 707012 | Teacher | Dual |
Aaron | 707012 | ECT | Dual |
Gillespie | 701252 | Teacher | Teacher |
Harper | 704265 | ECT | ECT |
Houben | 702153 | Teacher | Dual |
Houben | 702153 | ECT | Dual |
I want to use this column is further analysis.
Thank you very much!
Losh
Solved! Go to Solution.
@Anonymous : Please try this calculated column formula
=IF(COUNTROWS(FILTER(ALL(Data),Data[Reg Number]=EARLIER(Data[Reg Number])))>1,"Dual",Data[Reg Type])
You download the powerpivot file here
Hope this helps
Thanks so much! very much apprecaite your help 🙂
Very impressed what a small formula can do.
Could you kindly direct me to learn much more on these kind of furmulae?
What does this specific one do in this particular instance?
@Anonymous : Please try this calculated column formula
=IF(COUNTROWS(FILTER(ALL(Data),Data[Reg Number]=EARLIER(Data[Reg Number])))>1,"Dual",Data[Reg Type])
You download the powerpivot file here
Hope this helps
Thanks so much! very much apprecaite your help 🙂
Very impressed what a small formula can do.
Could you kindly direct me to learn much more on these kind of furmulae?
What does this specific one do in this particular instance?
@Anonymous You are welcome
You can take a look at microsoft documentation on how dax expressions work
https://msdn.microsoft.com/en-us/query-bi/dax/dax-function-reference
Thanks a lot again! 🙂
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
130 | |
80 | |
53 | |
38 | |
35 |
User | Count |
---|---|
204 | |
81 | |
71 | |
53 | |
50 |