Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi,
Create a Calendar Table with a relationship (Many to One and Single) from the Created_At date column to the Date column of the Calendar Table. Write this measure
total_qty = CALCULATE(SUM(Stock[Items.quantity]),datesbetween(calendar[Date],DATE(2023, 12, 12),DATE(2023, 12, 12)),stock[user_id] IN {"LTTN01001","LTTN01002", "LTTN01003","LTTN01005","LTTN01006"})
Hope this helps.
sir. slight modification to my question above.
i have two tables "Sale_items", "stocks"
columns "term_id_new", "Sale Date" is from table "Sale_items"
column "items.quantity" is from table "stocks".
now i want to calculate the sum of "items.quantity" for each "term_id_new" for each "Sale Date".
please help me. am so new to this tool. please provide the query formula in detail.
maybe you can try this
Proud to be a Super User!
Bro. slight modification to my question above.
i have two tables "Sale_items", "stocks"
columns "term_id_new", "Sale Date" is from table "Sale_items"
column "items.quantity" is from table "stocks".
now i want to calculate the sum of "items.quantity" for each "term_id_new" for each "Sale Date".
please help me. am so new to this tool. please provide the query formula in detail.
In order to provide the proper solution. pls provide some sample data of two tables and the expected output
Proud to be a Super User!
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.