Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Trying to create custom column in Power Query for MTD
Column = Material, Date and Order Qty
I need MTD Order Qty against each transaction based on Material and Date
Solved! Go to Solution.
You are getting into date intelligence, and typically that is analysis and best done in DAX. Power Query for shaping, DAX for analysis. However, @ImkeF has done some solid work on cumulative/running totals in Power Query here, so you could look at that if this MUST be done in PQ. Unless you are dropping this to an Excel table vs the Power Pivot DAX model or the Power BI DAX model though, it really would be best done in DAX using the various date intelligence functions available in Power BI in measures.
DAX is for Analysis. Power Query is for Data Modeling
Proud to be a Super User!
MCSA: BI ReportingYou are getting into date intelligence, and typically that is analysis and best done in DAX. Power Query for shaping, DAX for analysis. However, @ImkeF has done some solid work on cumulative/running totals in Power Query here, so you could look at that if this MUST be done in PQ. Unless you are dropping this to an Excel table vs the Power Pivot DAX model or the Power BI DAX model though, it really would be best done in DAX using the various date intelligence functions available in Power BI in measures.
DAX is for Analysis. Power Query is for Data Modeling
Proud to be a Super User!
MCSA: BI ReportingCovering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
101 | |
49 | |
19 | |
12 | |
11 |