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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
jerryr125
Helper III
Helper III

Display text instead of the sum

Hi  - 

I have a table visualization.

 

Example:

DepartmentCounter Sales
123425
56780
910110
1213100

 

instead of displaying the 'sum of sales', I would like to display "Yes" or "No".  That is, if the counter of the field sales is greater than 0, then display "Yes" else display "No"

 

Example:

Example:

DepartmentCounter Sales
1234Yes
5678No
91011No
1213Yes

 

Any thoughts ? Jerry

1 ACCEPTED SOLUTION
Kaviraj11
Super User
Super User

Hi

 

Use the following DAX formula to create the measure:

Sales Status Measure = IF(SUM('Sales'[Counter Sales]) > 0, "Yes", "No")

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




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

Proud to be a Super User!





View solution in original post

1 REPLY 1
Kaviraj11
Super User
Super User

Hi

 

Use the following DAX formula to create the measure:

Sales Status Measure = IF(SUM('Sales'[Counter Sales]) > 0, "Yes", "No")

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




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

Proud to be a Super User!





Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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