Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hello guys how are you?
Here is one example of my PBI (simple one, with sales by country per day)
I'm looking forward to (using the new DAX window function):
Example of the desired final result (in Excel)
Here are the:
Really appreciate
Leo
Hi,
Please check the below picture and the attached pbix file, whether it works for you.
Sales: =
SUM( Tabela1[Sales] )
Diff: =
CALCULATE ( [Sales:], Tabela1[Group] = "Americas" )
- CALCULATE ( [Sales:], Tabela1[Group] = "Europe" )
Percentage: =
DIVIDE( [Diff:], CALCULATE([Sales:], Tabela1[Group] = "Americas"))
Hello Kim, ty for the fast reply. I've done something similar to what you suggested. In 2 separated visuals, etc.
The issue is that sometimes we have more Countries per Region, and the tables do not fit well.
That's why I considered using the new window function (similar to Tableau table calculations). So, independent of how many countries the table shows, the final calculations would fit well in the same table)
TYVM
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
11 | |
9 | |
8 | |
6 | |
5 |
User | Count |
---|---|
19 | |
17 | |
12 | |
9 | |
9 |