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.
Please see screenshots below. I am trying to add the field [NUM BUS DAYS] from an existing source but it won't let me. When I type '[' in the Create New Measure text box, the only field that pops is another measure previously created.
Thanks in advance
Solved! Go to Solution.
When I tried to add formula IF(('Scheduled and Arrived Appts'[NUM BUS DAYS]) <=14, 1, 0) to a New Measure
, I get this error:
A single value for column 'NUM BUS DAYS' in table 'Scheduled and Arrived Appts' cannot be determined. This can happen when a measure formula refers to a column that contains many values without specifying an aggregation such as min, max, count, or sum to get a single result.
I was able to add this formula to a New Column instead and then use it in a New Measure
New Column : NPLESSTHAN14BUSDAYS = if([NUM BUS DAYS] <= 14,1,0)
New Measure : NP14BUSDAYS% = sum([NPLESSTHAN14BUSDAYS]) / count('Scheduled and Arrived Appts'[Appt Scheduled])
@Anonymous Can you directly select column name from the dataset after = and check
Thank you for your feedback!
Much to my frustration, it will not let me drag and drop the field in the Create New Measure textbox
When I tried to add formula IF(('Scheduled and Arrived Appts'[NUM BUS DAYS]) <=14, 1, 0) to a New Measure
, I get this error:
A single value for column 'NUM BUS DAYS' in table 'Scheduled and Arrived Appts' cannot be determined. This can happen when a measure formula refers to a column that contains many values without specifying an aggregation such as min, max, count, or sum to get a single result.
I was able to add this formula to a New Column instead and then use it in a New Measure
New Column : NPLESSTHAN14BUSDAYS = if([NUM BUS DAYS] <= 14,1,0)
New Measure : NP14BUSDAYS% = sum([NPLESSTHAN14BUSDAYS]) / count('Scheduled and Arrived Appts'[Appt Scheduled])
You can't have naked column names in measures. They have to be aggregated in some way.
Proud to be a Super User!
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 |
---|---|
97 | |
97 | |
81 | |
75 | |
66 |
User | Count |
---|---|
126 | |
105 | |
103 | |
81 | |
72 |