Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
Hi,
How can i fill down the values of Tonnes Line?. I have asked this Q before with no luck, hence asking again...TIA
Solved! Go to Solution.
Hi @kumsha1 ,
For calculated column, you can create a new column for it:
New PROGRESSIVE_TONNES =
VAR LastNonBlankIndex =
CALCULATE (
LASTNONBLANK ( TRANSHIPPER_DETAILS[Index], 1 ),
FILTER (
ALL ( TRANSHIPPER_DETAILS ),
TRANSHIPPER_DETAILS[Index] <= EARLIER ( TRANSHIPPER_DETAILS[Index] )
&& NOT ( ISBLANK ( TRANSHIPPER_DETAILS[PROGRESSIVE_TONNES] ) )
)
)
RETURN
CALCULATE (
SUM ( TRANSHIPPER_DETAILS[Value] ),
FILTER ( ALL ( TRANSHIPPER_DETAILS ), TRANSHIPPER_DETAILS[Index] = LastNonBlankIndex )
)
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Best Regards,
Dedmon Dai
Hi @kumsha1 ,
For calculated column, you can create a new column for it:
New PROGRESSIVE_TONNES =
VAR LastNonBlankIndex =
CALCULATE (
LASTNONBLANK ( TRANSHIPPER_DETAILS[Index], 1 ),
FILTER (
ALL ( TRANSHIPPER_DETAILS ),
TRANSHIPPER_DETAILS[Index] <= EARLIER ( TRANSHIPPER_DETAILS[Index] )
&& NOT ( ISBLANK ( TRANSHIPPER_DETAILS[PROGRESSIVE_TONNES] ) )
)
)
RETURN
CALCULATE (
SUM ( TRANSHIPPER_DETAILS[Value] ),
FILTER ( ALL ( TRANSHIPPER_DETAILS ), TRANSHIPPER_DETAILS[Index] = LastNonBlankIndex )
)
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Best Regards,
Dedmon Dai
@kumsha1 , if they are column you have an option in power query same as excel to fill down the values
refer:https://www.excelcampus.com/powerquery/fill-down-blank-null-cells-power-query/
https://docs.microsoft.com/en-us/power-query/fill-values-column
Hi @amitchandak ,
Its required in a calculated column/measure then i have a requirement to cal. earlier values of this Tonne Line and use this in other calculations.
RunningMax(Tonnes Line) - Earlier(Tonnes Lines)
Below is the required output.
Please provide the expression for the Tonnes Line measure.
Regards,
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
Hi @mahoneypat ,
Below is the formula, i have this as calculated column/measure.
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Ask questions in Eventhouse and KQL, Eventstream, and Reflex.
User | Count |
---|---|
84 | |
84 | |
65 | |
62 | |
55 |
User | Count |
---|---|
179 | |
108 | |
104 | |
71 | |
70 |