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
asdf1608
Helper V
Helper V

Window_avg and total in power BI

I am trying to convert the tableau calculations to Power BI.

 

There are few issues I faced while converting the dashboard.

1. Window_avg in power BI - calculating the windows_standard Deviation in poewr BI

WINDOW_STDEV(SUM([Sales]))

 

2. TOTAL(SUM([Qty LB]) - I am not able to understand difference between Total and sum, but the Calculation dax is

sum([Sales1])/total(sum([Sales1))

 

I am not getting the result I need in power BI.

 

asdf1608_0-1697813892499.png

Power BI file : Sample File.pbix

 

I am not exactly sure of how to create the above two calculated field in power BI.

 

Help in this is needed.

Thanks in advance

3 REPLIES 3
Greg_Deckler
Community Champion
Community Champion

@asdf1608 There is no TOTAL function in DAX that I am aware of or WINDOW_STDEV. Is that Tableau code? 



Follow on LinkedIn
@ 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!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

@Greg_Deckler Yes it is available in tableau and the result of that, I have attached it as screenshot.

 

I am not sure of how to convert that to Power BI DAX.

 

Please help me in this

@asdf1608 The Sales measure is just SUM('Sheet1'[Sales]). What does the other measure represent? It seems like a percent of grand total but I don't think that is quite right. See attached PBIX below signature.



Follow on LinkedIn
@ 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!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 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.