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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Anonymous
Not applicable

Summaries data in a table based on specific "string value in a column"

Hi Experts

 

is it possible to summarise / extract the data from a table for instances where we have cancellation in column B and the start date is the same as the end date in the respective columns.

see example so i only want to show row 2 in a new table

 

IDTransaction TypeStart DateEnd Adte
1Good01/01/202030/03/2020
2Cancellation03/03/202003/03/2020
3ok02/02/202030/03/2020
4Poor12/01/202031/01/2020
1 ACCEPTED SOLUTION

Hi @Anonymous ,

 

Try this to create a new table:

 

T_Cancellation = FILTER('Table (2)'; 'Table (2)'[Transaction Type] = "Cancellation" && 'Table (2)'[Start Date] = 'Table (2)'[End Adte])
 
Ricardo


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

Proud to be a Super User!



View solution in original post

4 REPLIES 4
camargos88
Community Champion
Community Champion

Hi @Anonymous ,

 

I didn't get what you want... just filter ?

 

If you wanna show it using table, try it:

 

CALCULATE(COUNT('Table'[ID]); FILTER('Table'; 'Table'[Transaction Type] = "Cancellation" && 'Table'[Start Date] = 'Table'[End Adte]))
 
Capture.PNG
 
Ricardo


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

Proud to be a Super User!



Anonymous
Not applicable

Hi Camargos88

 

i want to show  just the following as a new table (a subset of the larger table)

IDTransaction TypeStart DateEnd Adte
2Cancellation03/03/202003/03/2020

 

Hi @Anonymous ,

 

Try this to create a new table:

 

T_Cancellation = FILTER('Table (2)'; 'Table (2)'[Transaction Type] = "Cancellation" && 'Table (2)'[Start Date] = 'Table (2)'[End Adte])
 
Ricardo


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

Proud to be a Super User!



Anonymous
Not applicable

thanks you sir.

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.