Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Anonymous
Not applicable

Measure or calculated column?

Hello guys,

 

I have the following data source (it will eventually be a SharePoint list).

 

I need to add the following calculations (in red) and preferably end up with a nice matrix tile but i have just started with PowerBI and I am struggling to come up with the right steps. I have watched quite a few tutorials, so I should be able to progress with some help.

 

Thanks a lot for your guidance!

 

Object Type     Object Name                   Skill A                                     Skill B                                                 Skill C     

EmployeeEmployee 1513
EmployeeEmployee 2034
EmployeeEmployee 3453
EmployeeEmployee n250
RequirementRequirement for task115
RequirementRequirement for cover212
 Available skills Counts all values>2 in Column Skill A where Object  = "Employee"Counts all values in Skill B Column >2 where Object  = "EmployeeCounts all values in Skill C Column >2 where Object  = "Employee"
 Single Point of FailureCounts all values in Skill A Column =3 or 4 where Object = "Employee"Counts all values in Skill B Column =3 or 4 where Object  = "EmployeeCounts all values in Skill C Column =3 or 4 where Object  = "Employee"

 

Kind regards,

 

Zara

1 ACCEPTED SOLUTION

@Anonymous solution attached, you can tweak it as per your need.

 

Would appreciate Kudos 🙂 if my solution helped.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

View solution in original post

2 REPLIES 2
parry2k
Super User
Super User

@Anonymous you should unpivot your table and then you just need two measures to make it work.

 

Available Skills Measure = 
CALCULATE ( COUNTROWS ( Table ), Table[Value] > 2, Table[Object] = "Employee" )

Single Point of Failure  Measure = 
CALCULATE ( COUNTROWS ( Table ), Table[Value] >= 3, Table[Object] = "Employee" )

 

And you can visualize the data with these measure. Hope this helps. 



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

@Anonymous solution attached, you can tweak it as per your need.

 

Would appreciate Kudos 🙂 if my solution helped.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Helpful resources

Announcements
July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

July Newsletter

Fabric Community Update - July 2024

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

Top Solution Authors