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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
ashik1992
Helper I
Helper I

Count of values

Hi,

Thanks for the tips everyone.

I have one  doubt. i want to find the counts of status of projects from my table . table is like  this .

ProjectsProposal Status
p1Accepted
p2Accepted
p3Accepted
p4Accepted
p5Accepted
p6Accepted
p7Accepted
p8OnHold
p9Rejected
p10Accepted
p11Not Proposing
p12Accepted
p13Accepted
p14Accepted
p15Accepted
p16Accepted
p17Accepted
p18Accepted
p19Accepted
p20Accepted
p21Lost
p22null
p23Accepted
p24Accepted
p25Accepted
p26Accepted
p27Accepted
p28Accepted
p29Accepted
p30OnHold
p31Accepted
p32Not Proposing
p33Accepted

 

What i want is ,the total number of accepted projects,Onhold projects like that . please hlp me

1 ACCEPTED SOLUTION

Hi @ashik1992 ,

I hope this would help you, If not please let me know.

Arul_0-1616477595381.png

Thanks,

-Arul

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


LinkedIn


View solution in original post

7 REPLIES 7
ashik1992
Helper I
Helper I

@Jihwan_Kim hello sir, this i wanted but when im applying the formula im getting diffrent count and but in the excel file count is correct 

Hi, @ashik1992 

Thank you for your feedback.

I am not sure how your data model looks like, but try to match all names in the DAX measure, including table name and column name.

Or, if you have another column in the table, perhaps that might affect.

if it is OK with you, please share your sample pbix file, then I can try to look into it and come up with a desirable solution.

Thank you.

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.


Go to My LinkedIn Page


@ashik1992 ,

 

Could you please share your results how it should be?





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


LinkedIn


Arul
Super User
Super User

Hi @ashik1992 ,

 

Do you want to it as a measure?

 

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


LinkedIn


yes

Hi @ashik1992 ,

I hope this would help you, If not please let me know.

Arul_0-1616477595381.png

Thanks,

-Arul

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


LinkedIn


Jihwan_Kim
Super User
Super User

Hi, @ashik1992 

Please correct me if I wrongly understood.

I guess you want to visualize like below, and if so, please try to create the below DAX measure.

 

Status Count =
IF (
     ISFILTERED ( 'Table'[Proposal Status] ),
     CALCULATE (
     COUNTROWS ( 'Table' ),
          FILTER (
          ALL ( 'Table' ),
          'Table'[Proposal Status] = SELECTEDVALUE ( 'Table'[Proposal Status] )
)
),
COUNTROWS ( 'Table' )
)

 

Picture1.png

Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!

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.


Go to My LinkedIn Page


Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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