The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hi, I have one table with made quantities T1C1 for specific category T1C2 in many rows and have another table with planned quantity T2C1 for each specific category T2C2.
T1C1 : T2C2 = N:1
I want to compare the sum of quantities for specific category against the planned quantity like T2C2 - SUM(T1C1). What kind of tool do I need to use in Power BI? Many thanks!
Solved! Go to Solution.
Hi @PeterSkl
You can create a measure with below DAX to get the difference between made quantities and planned quantities. Then put Category column from Table2 (Don't summarize), Made Quantity (Sum aggregation), Planned Quantity (Sum aggregation) and this measure into a table visual to view the result. You can also use other visuals per your need. Table visualizations in Power BI reports and dashboards
Difference = SUM(Table2[Planned Quantity]) - SUM(Table1[Made Quantity])
Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.
Hi @PeterSkl
You can create a measure with below DAX to get the difference between made quantities and planned quantities. Then put Category column from Table2 (Don't summarize), Made Quantity (Sum aggregation), Planned Quantity (Sum aggregation) and this measure into a table visual to view the result. You can also use other visuals per your need. Table visualizations in Power BI reports and dashboards
Difference = SUM(Table2[Planned Quantity]) - SUM(Table1[Made Quantity])
Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.