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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
kdesai
Frequent Visitor

Running chi square test in Power BI and displaying the results on Power BI dashboard!

Hi, 

 

I have created the data queries already by connecting Power BI to SQL server.

 

I want to run chi square test on this data to understand if the differences between two sets of data are significant.

 

Also want to display these results in a compelling way, so that its easier for the audience to understand.

 

Has anyone worked on such use case??

Any inputs are appreciated!!

3 REPLIES 3
v-juanli-msft
Community Support
Community Support

Hi @kdesai

a possible method is to utilize R and Power BI Desktop to visualize significance testing.

For more details using R in Power BI Desktop, please review the following articles.

Chi-Square Test in R with Example

 

Best Regards

maggie

Greg_Deckler
Super User
Super User

This looks like a very interesting problem. Can we assume that your data looks something along the line of:

 

Observed

ID,Category1,Category2,Category3

1,224,303,230

2,223,300,250

 

Expected

ID,Category1,Category2,Category3

1,225,305,235

2,225,305,235

 

Or? Please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Hi,

 

Yes, My data is in the above format.

 

Here is a screen shot!

h.PNG

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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