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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
NotMyJob
Helper III
Helper III

Groups? Measures? Multi-results for a Stacked Area Chart

Greetings Gurus!

 

I'm lost on this one, as before my data source had four separate columns for this data and COUNT worked.  Now I'm confronted with one column with multiple entries (20+) from a list:  ASSET, COST, QTY, etc.  I'm not able to figure out how to get pbi to present that in this format: 

NotMyJob_0-1728396632484.png

Is there a dax expression that would do this?  As the field is a string, COUNT, etc doesn't work.

 

Help help would be awesome, and thank you very much!

 

5 REPLIES 5
NotMyJob
Helper III
Helper III

Here's a sample data set:

 

NotMyJob_0-1728398857524.png

 

Anonymous
Not applicable

Hi @NotMyJob ,

Do you mean to count the number of these categories? The date column of the date dimension table is used as the x-axis of the visualization?

vzhouwenmsft_0-1728452000308.png

If I understand you wrongly, please show the expected result in a picture.

 

Best Regards,
Wenbin Zhou

On this, it really doesn't matter the column.  The date column is the x axis as in the graphic.  As to align the image with a specific column, I've pasted together this:

 

NotMyJob_0-1728485219902.png

I'm trying to count string values from all of the different entries in one column over the course of a time period (determnined by a slicer).  

But what are you trying to count?
And where is the status column that you use for the legend in your example? (On Track, On Track Due Soon, etc...)?




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

Proud to be a Super User!





dk_dk
Super User
Super User

Hard to say without seeing your data, but try DISTINCTCOUNT or COUNTROWS?




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

Proud to be a Super User!





Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors