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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
dtartaglia
Resolver I
Resolver I

Line values measue in Line and stacked column chart visual

 

Hi,

 

I'm still pretty new to DAX but this measure used to work to display the below red line specified in the Line values field:

 

Studio Goal = if (DISTINCTCOUNT(SurveyDataTransposed[Tool])>1, 0, VALUES(CombinedStudioSkillTables[Studio Skill Goal Index]))

 

Capture.PNG

 

 

 

 

It's now causing the below error. Is there a better DAX statement I should use?

 

Capture01.PNG

Thanks,

Dan

 

 

 

2 REPLIES 2
Anonymous
Not applicable

HI @dtartaglia,

 

I modified your formula to deal with the result which has multiple index.(it will return 0)

 

Studio Goal = 
if (DISTINCTCOUNT(SurveyDataTransposed[Tool])>1, 0, 
if(COUNTROWS(VALUES('Table'[UK Financial Year]))>1,0,
VALUES(CombinedStudioSkillTables[Studio Skill Goal Index]))
)

Regards,

 

Xiaoxin Sheng

Hi Xiaoxin,

 

Thanks for the reply. Your logic produces the same issue ans mine. It may or may not have to do with using UNION to compbine my tables:

 

CombinedStudioSkillTables = UNION('Columbus 55', 'Columbus 55x', 'Columbus 99x', 'Seattle 41x', 'London 01x', 'Admin 00x', 'Boston 01x', 'Graphics 07x', 'New York 01x', 'Los Angeles 01x', 'San Francisco 01x', 'Seattle Healthcarex', 'Seattle 09x', 'Seattle 31x', 'Shanghai 01x')

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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