Forum Discussion
Compare 2 KPIs to a dimension
Hello all,
I would like, from the 2 slicers in the picture below, to select only 2 KPI max (among « Total Amount », « Principal Amount », « Contratcts Count », « LGD », ...), and then 1 dimension among « Branch », « Product », « Aging », and « Loan Officer ».
I would like to have a result like the one in the picture below (At the left axis, the first KPI ; eg, the Balance (3,505M $) ; The right axis, the second KPI ; eg, Contracts Count (2780 contacts); And at the horizontal axis, the values of the 2 KPIs for each branch, as the dimension selected was « Branch »).
Here are the tables :
« Table_KPI_2 » :
« Table_DIM » :
And the DAX formulas :
Do you have an idea of how to deal with this ?
I asked a question around this topic in the forum, and the answers helped me to move forward in some steps, but not to the final solution. I come back with much more precision.
With the help of « ThomasFoster » (who showed how to Dynamicaly switch the axis), I arrived to change dynamicaly the dimension, but for only for one KPI. But, here, the user must have the possibility to select at will 2 KPI maxumun, and compare them according to the selected dimension.
Thank you.
HI, PaulMoses
You may try to use Line and clustered column chart visual drag a measure into Column Values
and another measure into Line Values like below:
By using a combination of Dynamicaly switch the axis.
and this is a blog that about Dynamically change the information within a visual via a slicer for you to refer to
Best Regards,
Lin
2 Replies
- v-lili6-msft
Community Support
HI, PaulMoses
You may try to use Line and clustered column chart visual drag a measure into Column Values
and another measure into Line Values like below:
By using a combination of Dynamicaly switch the axis.
and this is a blog that about Dynamically change the information within a visual via a slicer for you to refer to
Best Regards,
Lin
- PaulMoses
Helper I
Hi Lin,
Thank you very much for you solution. And the blog was realy very helpfull.
Best regards.