Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
Hello!
I'm trying to recreate a Tableau report in Power BI. The report has many table calculations using Window_Sum(), Window_Avg() and Lookup(). Is there a way to perfrom these calculations in Power BI?
Thanks
I am also searching for an answer to this. Tableau Table Calculations are calculations run AFTER an initial aggregation in a visualization.
So, say you SUM sales by customer. You can then run the equivalent of a window function across that whole result set or partitions in that result set. They are directly analogous to window functions in SQL.
I am not aware of something that lets you do this in PowerBI dynamically in a table -- for instance, a running sum along a discrete dimension that responds to the user changing the sort order.
Hi mk244,
Power BI provides powerful DAX(Data Analysis Expressions) function which can help you create new information from data already in your model. DAX is a collection of functions, operators, and constants that can be used in a formula, or expression, to calculate and return one or more values. You can refer to DAX reference here for more details: https://msdn.microsoft.com/en-us/query-bi/dax/data-analysis-expressions-dax-reference.
Regards,
Jimmy Tao
Hi @mk244
You will see most of the funcitions in Power BI as well. You may use SUM(), AVERGARE() along with CALCULATE(), FILTER() as needed.
DAX offers lots of other functions as well for Table calculations.
Thanks
Raj
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
86 | |
73 | |
55 | |
41 | |
38 |
User | Count |
---|---|
98 | |
63 | |
56 | |
46 | |
45 |