Forum Discussion

Auski's avatar
Auski
Advocate I
2 years ago
Solved

Line and Stacked Column Chart using distinct count X-Axis

Hi all,

 

Having somewhat of an issue here. I'm just at the validation stage so playing around with visuals and wondering if there is something that can be done with the below graph?

 

I want each column to be grouped by conversation id, but don't want the id to be shown as outlined above. A conversation ID consists of multiple rows of data which is why the graph needs to be visualised this way.

 

Doing a distinct count of conversation ID doesnt work as numbers cannot be added to the X-axis so maybe there is a way using DAX???

 

 

The DAX I am currently using is :

 

Line Y-Axis
Plan % =

CALCULATE (
    DIVIDE( [Score], [Total Result Score] ),
    FILTER (
        'Results Table',
        SEARCH ( "Plan", 'Results Table'[Question Group], 1, BLANK () )
    )
)


Column Y-Axis
Total Score % =
CALCULATE ( MAX ( 'Results Table'[answerstotalscore] ) / 100 )

I am using a date slicer and some other filters, but besides this it's a very straight forward visual.

Anyone have any genius ideas?

2 Replies