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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
SaiKrishna007
New Member

Getting error while trying to display the multiple selected values of slicer in a card.

Getting "Column is part of composite key, but not all columns of the composite key are included in the expression or its dependent expression" while trying to display the multiple selected values of slicer in a card.Error.jpg

2 REPLIES 2
Logan_404
Frequent Visitor

Hii @SaiKrishna007 what solution did you find for the above problem?

Anonymous
Not applicable

Hi @SaiKrishna007 ,

Base on the error message, it seems that the table use a composite key. And the column [State_Code.State_Code LEVEL01] is a part of composite key, you need to ensure that all columns of the composite key are included in the measure's expression for resolving the problem. Could you please provide the formula of measure 'Charged off Account Report'[State_Header] and which columns be included in the composite key? It will be helpful to find the solution. Thank you.

Best Regards

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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