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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
indranil36
New Member

count each profile as 1 regardless of the number of stages they've gone through

I need help with a specific problem.  I am extracting data from a dynamic spreadsheet which gets regular feeds for updates and additions in terms of rows

I have three specific Columns –

 

  1. Name of the profile  
  2. Stage of Operation ( 6 Stages)
  3.  Number of profiles

 

Each profile goes through six different stages.  .. Whenever a profile enters a new stage of operation a new row gets generated against the same profile .

. Hence if we take the count of profiles using the column “ Number of Profiles”  - we get more than 1 count for one distinct profile name because he / she may have gone through different stages … Now for count of number of profiles , this should count as 1 ….

 

Please suggest a measure in DAX or Power query editor to hand the above scenario.

 

1 ACCEPTED SOLUTION
AnthonyJoseph
Resolver III
Resolver III

@indranil36 Not sure if I understand your question. If you want to count the user profile only once irrespective of the number of rows the user profile is present? If yes, then you can use DISTINCTCOUNT('column name') in DAX meausre. If your requirement is not this, then please can you provide more details and show some sample input and output?

View solution in original post

2 REPLIES 2
indranil36
New Member

Let me share with you some data, though the solution you gave might be of help. In the attached spreadsheet regardless of the status which might /might not change but gives rise to additional rows for the same profile for any work done related to a profile, my count of job openings should be considered as one if the " Job: Title" remains unchanged .. Need help on the DAX expression on the same  https://docs.google.com/spreadsheets/d/1PkBbJUzT3GWvofB66m0ivM6wAwGDE29P/edit?usp=sharing&ouid=10075... 

AnthonyJoseph
Resolver III
Resolver III

@indranil36 Not sure if I understand your question. If you want to count the user profile only once irrespective of the number of rows the user profile is present? If yes, then you can use DISTINCTCOUNT('column name') in DAX meausre. If your requirement is not this, then please can you provide more details and show some sample input and output?

Helpful resources

Announcements
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!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.