Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateJoin 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.
Hi,
I need to replicate the following Excel formula in Power BI.
I have been trying a few things based on what I could find on the forum, but unfortunately nothing has worked so far.
The problem I'm facing is that the dataflow I'm working with does not carry forward some of the Province values for certain types of items (as shown in the example above). I am looking for a function that would allow me to carry forward those missing Province values and fill in the blanks.
Thanks for your help!
Solved! Go to Solution.
Hi @Anonymous
Please create a new calculated column
Result =
MAXX (
CALCULATETABLE ( TableName, ALLEXCEPT ( TableName, TableName[OrderID] ) ),
TableName[Province]
)
Hi @Anonymous
Please create a new calculated column
Result =
MAXX (
CALCULATETABLE ( TableName, ALLEXCEPT ( TableName, TableName[OrderID] ) ),
TableName[Province]
)
Hi @Anonymous
This is one of the simplest data transformations that Power Query does for you out of the box. It's about one mouse click away... There is a transformation in PQ called---if I remember right---Fill Down. Just use this and you'll be finished.
User | Count |
---|---|
14 | |
9 | |
7 | |
7 | |
6 |
User | Count |
---|---|
22 | |
11 | |
10 | |
10 | |
8 |