Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
In my data set, I have multiple rows for each 'Name' when each 'Name; has a Skill:Name assigned to them, with a skill level, skill start date and skill end date;
The end result I am trying to get to is to find out how many 'names' we have for each Skill:Name in the data set. In the above example, 'Calvin Lip' has 3 skills (Costco, Reface Sales Appt, Costco Bath - Sales Appt, and Bath Solutions Sales Appt). Becuase he has 4 skills, he would count as .25 in each (Count of Skill:Name by Name / 1).
The other caveat to the formula, is I only want to include the Skill:Name where the end date is NULL (IE: the skill is active) and where the skill level is NOT 1, as in this data set example;
For Kevin, he would count as .50 in each (not counting the skill with an end date nor the skill level of 1.
Any suggestions are appreciated!
Solved! Go to Solution.
Hi,
Try these calculated column formulas
Count with condition = CALCULATE(COUNTROWS(Data),FILTER(Data,Data[Name]=EARLIER(Data[Name])&&Data[Skill End Date]=BLANK()&&Data[Skill Level]<>1))Apportioned count = if(and(Data[Skill End Date]=BLANK(),Data[Skill Level]<>1),DIVIDE(1,Data[Count with condition]),BLANK())
Hope this helps.
Hi,
So For Calvin Lip, you want to see 0.25 in another column (in each of the 4 rows) and for Kevin, you want to see null, 0.5, 0.5 and null. Am i correct? Share the download link of the PBI file.
Yes, that is correct. Here is a link to a sample file.
Hi,
Try these calculated column formulas
Count with condition = CALCULATE(COUNTROWS(Data),FILTER(Data,Data[Name]=EARLIER(Data[Name])&&Data[Skill End Date]=BLANK()&&Data[Skill Level]<>1))Apportioned count = if(and(Data[Skill End Date]=BLANK(),Data[Skill Level]<>1),DIVIDE(1,Data[Count with condition]),BLANK())
Hope this helps.
Thank you! This work perfectly!!
You are welcome.
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 42 | |
| 35 | |
| 35 | |
| 22 | |
| 15 |
| User | Count |
|---|---|
| 65 | |
| 58 | |
| 28 | |
| 27 | |
| 25 |