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
Anonymous
Not applicable

Split the values of a column

Hi Guys,

 

I wants to split a column value

 

Kindly refrer the below table example. 

 

please let me know the best measure or approach to have the desired value.

 

I want the total number of Active cases to showcase in my chart.

 

How to segregate all the status values of the particular column "Status Name".

 

S.NOCompany IDStatus NameDate StartedDeal Name
1123Active 1-1-2020XYZ
2321Terminated2-2-2020ABC
3456Past3-3-2020abc
     

 

I have 2000 rows with different status name.

 

Desired Output:

 

Total Active Deals: 245

Total Past Deals : 50 etc.

 

Regards,

Himanshu

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Anonymous , Try measures like

 

calculate(count(Table[S.No]), filter(Table, Table[Status] ="Active"))


calculate(count(Table[S.No]), filter(Table, Table[Status] ="Past"))

View solution in original post

3 REPLIES 3
Greg_Deckler
Super User
Super User

@Anonymous Can you just put that column in a table visual, legend, pretty much anything and just do a default count? If you need it to be only Active, put it in your Filters pane and choose Active. Default aggregation. Best to avoid DAX calculations if possible.


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...
amitchandak
Super User
Super User

@Anonymous , Try measures like

 

calculate(count(Table[S.No]), filter(Table, Table[Status] ="Active"))


calculate(count(Table[S.No]), filter(Table, Table[Status] ="Past"))

Anonymous
Not applicable

@amitchandak  Thanks for the help. it solved my issues. 🙂

 

Regards,

Himanshu

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.