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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
vicentetic
Frequent Visitor

A question about counting atributes of a table

dear all,

 

I want to know  (for example) the number of times that the attribute "A" has been seen. If you see the two tables that I've attached, the result is attribute A= 3 (panel 1) *1 + 5 (panel 2) *1+ 12 (panel 3)*0+ 17 (panel 4) *0 = 8 times

vicentetic_1-1616681467572.png

Ok. I think it's easy but I'm trying it and I'm not able to achieve the correct result. Could someone help me?

Thanks in advance

1 ACCEPTED SOLUTION
Jihwan_Kim
Super User
Super User

hi, @vicentetic 

Please kindly check the below picture and the link down below whether it is what you are looking for.

 

the measures are written inside the sample pbix file in the link.

 

Picture2.png

 

I hope it helps.

 

https://www.dropbox.com/s/cydjn0fszllztpt/vicentetic.pbix?dl=0 

 

Hi, My name is Jihwan Kim.

If this post helps, then please consider accept it as the solution to help the other members find it more quickly.

If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Visit my LinkedIn page by clicking here.


Schedule a meeting with me to discuss further by clicking here.

View solution in original post

2 REPLIES 2
Jihwan_Kim
Super User
Super User

hi, @vicentetic 

Please kindly check the below picture and the link down below whether it is what you are looking for.

 

the measures are written inside the sample pbix file in the link.

 

Picture2.png

 

I hope it helps.

 

https://www.dropbox.com/s/cydjn0fszllztpt/vicentetic.pbix?dl=0 

 

Hi, My name is Jihwan Kim.

If this post helps, then please consider accept it as the solution to help the other members find it more quickly.

If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Visit my LinkedIn page by clicking here.


Schedule a meeting with me to discuss further by clicking here.

Thank you very much

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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