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.
Hi All,
I am new to BI and have been using excel extensively, my issue is trying to sum amounts by day (given there is 000's of lines of data)
The types of formulas i have used are as below ...
Crop = CALCULATE(SUM(CropData[Kg]),FILTER(RELATEDTABLE(CropData),CropData[Date])<='Total Harvest'[Date]&&RELATEDTABLE(CropData),CropData[Date]>='Total Harvest'[Date])
Harvest = CALCULATE(SUM(CropData[Kg]),ALL('Total Harvest'[Date]))
What I am trying to get is the following (Excel)
=SUMIFS(L:L,B:B,">="&"Table Calander[Date]",B:B,"<="&"Table Calander[Date]",G:G,"GH 4")
Trying to reference the date field within the calendar table in order to summarise
Any help would be apreciated
Thankyou
Andrew
Hi @abeinke2018,
What is the intention of above formulas?
Besides, to illuatrate the formula you used in Excel, please show us the desired result.
=SUMIFS(L:L,B:B,">="&"Table Calander[Date]",B:B,"<="&"Table Calander[Date]",G:G,"GH 4")
How to Get Your Question Answered Quickly
Best regards,
Yuliana Gu
I have this formula which gives me what I need, unless you know of a better way to do this ?
It sums up all the Kg's (000's of rows) for the location GH4 for each day
Field GH4 = CALCULATE(SUM(Field[GH4]),FILTER(ALL(Field),Field[Day]<='Total Harvest'[Date]&&Field[Day]>='Total Harvest'[Date]))
Thankyou
Covering 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 |
---|---|
111 | |
97 | |
80 | |
69 | |
59 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |