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.
I need to change my formula so that is works with BLANK values
Productie per dag = SUMMARIZE(GENERATE(Adressen;CALCULATETABLE(VALUES('Date'[Date]);DATESBETWEEN('Date'[Date];Taken[begin];Taken[Eind])));Adressen[DP gebied naam];'date'[Date])
It has effect on the 'red' part of the formula which calculates the Datesbetween 2 colums and sometimes there is no value.
Now ... it returns an error translated into 'A single value cannot be determined for column 'Begin' in table 'Taken'
Which probably has something to do with the fact that there are blank values right ?
Might be, or it might be that if that is a measure that you need an aggregation around that column. If it is blank, what do you want it to be?
You can handle that via something like:
IF(ISBLANK(MAX('Table'[BeginTime])),BLANK(),<your calculation>)
@Greg_Deckler i cant get the formula to work but not such a datanaut as you are 😉
Productie per dag = SUMMARIZE(GENERATE(Adressen;CALCULATETABLE
(VALUES('Date'[Date]);(IF(ISBLANK(MAX(Taken[begin]));BLANK());DATESBETWEEN('Date'[Date];Taken[begin];Taken[Eind])));Adressen[DP gebied naam];'date'[Date])))
it returns a syntax error so that probably means there are some )( wrong somewhere, can you help me out ?
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 |
---|---|
112 | |
100 | |
80 | |
64 | |
57 |
User | Count |
---|---|
146 | |
110 | |
93 | |
84 | |
67 |