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 guys. I have something that I thought should have been easy, but I am not able to find a way to do this. I have a table with results in 3 different columns. I am trying to get a bar chart that will give me a count of each result if it is found in any of the 3 columns. I can get it if I stack the bars, but I want a single count, not one on top of the other. I tried to Summarize, but I still get 3 columns. Is there a way to do the below, but stack all three columns into one result column?
Current DAX:
Solved! Go to Solution.
@Kyle_Willey
I am not sure if I understood your question but if you you need to pull out two columns from the SUMMARIZE table, do the following, you can repeat and apply for other combinations if you need.
CLABSIPathogens =
SELECTCOLUMNS (
SUMMARIZE (
'CLABSI Line List',
'CLABSI Line List'[eventDate],
'CLABSI Line List'[Pathogen1Name],
'CLABSI Line List'[Pathogen2Name],
'CLABSI Line List'[Pathogen3Name]
),
'CLABSI Line List',
'CLABSI Line List'[Pathogen1Name]
)
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
@Kyle_Willey
I am not sure if I understood your question but if you you need to pull out two columns from the SUMMARIZE table, do the following, you can repeat and apply for other combinations if you need.
CLABSIPathogens =
SELECTCOLUMNS (
SUMMARIZE (
'CLABSI Line List',
'CLABSI Line List'[eventDate],
'CLABSI Line List'[Pathogen1Name],
'CLABSI Line List'[Pathogen2Name],
'CLABSI Line List'[Pathogen3Name]
),
'CLABSI Line List',
'CLABSI Line List'[Pathogen1Name]
)
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
Thank you. This gave me what I needed:
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
65 | |
63 | |
52 | |
37 | |
36 |
User | Count |
---|---|
82 | |
66 | |
61 | |
46 | |
45 |