Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin 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.
Hi -
I have a table visualization.
Example:
Department | Counter Sales |
1234 | 25 |
5678 | 0 |
91011 | 0 |
1213 | 100 |
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:
Department | Counter Sales |
1234 | Yes |
5678 | No |
91011 | No |
1213 | Yes |
Any thoughts ? Jerry
Solved! Go to Solution.
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 !!
Proud to be a 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 !!
Proud to be a Super User! | |
User | Count |
---|---|
8 | |
7 | |
2 | |
2 | |
2 |
User | Count |
---|---|
6 | |
5 | |
4 | |
4 | |
4 |