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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Power_Ninja
Regular Visitor

Confusion Matrix using DAX

Hey Everyone,

I want to create a confusion matrix in PowerBI. Would really appreciate if someone can suggest on how to carry out confusion matrix quadrants(TP, TN, FP, FN) calculations for a multi-class classifier in DAX?
I have got a column with actual classes and one with predicted classes.

 

 

2 REPLIES 2
Anonymous
Not applicable

Does it make a difference whether a classifier is multi-class or single-class in this case? Please provide some sample data in text format that can easily be copied and the desired output.

amitchandak
Super User
Super User

@Power_Ninja ,Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

 

Do you need something like this

Period Of Stay – Cohort Analysis: https://community.powerbi.com/t5/Community-Blog/Customer-Retention-Part-3-Period-Of-Stay-Cohort-Anal...

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.