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 August 31st. Request your voucher.
Hi,
I am new to PowerBI. I have one table where I have enquiry data and sales data. Now I need Cumulative enquiry Data and Cumulative sales data for my report.
I have written one DAX query but it didnot work:
Total Cumulative Enquiry: Calculate(Sum(Value), Filter(Calender, Calender(date)<= Max(Calender(date))) , Filter(CRM, Attribute= "Enquiry")))
Nearly there. You'll learn about filter and row context.
For now, use variables
Total Cumulative Enquiry=
var md=selectedvalue(Calendar[date])
return Calculate(Sum(Value), Filter(Calendar, Calendar[date]<= md) , Filter(CRM, CRM[Attribute]= "Enquiry"))
User | Count |
---|---|
11 | |
9 | |
6 | |
6 | |
5 |
User | Count |
---|---|
22 | |
14 | |
14 | |
9 | |
7 |