The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
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 |
---|---|
15 | |
13 | |
9 | |
6 | |
6 |
User | Count |
---|---|
28 | |
18 | |
13 | |
9 | |
5 |