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 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 |
---|---|
17 | |
8 | |
7 | |
6 | |
6 |
User | Count |
---|---|
26 | |
13 | |
12 | |
9 | |
8 |