Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.
What I am trying to accomplish create a calculated column in my date table to return the value of a column from another table where I only have a start and end date. It should be pulling in the value of 'Event Header_Basic'[POS Event Code], if DimDate[Date] is between 'Event Header_Basic'[Date Start] and 'Event Header_Basic'[Date End].
What I've tried is:
Column = CALCULATE(
VALUES('Event Header_Basic'[POS Event Code]),
FILTER(
'Event Header_Basic',
'Event Header_Basic'[Date Start]<=(DimDate[Date])
&& 'Event Header_Basic'[Date End]>=(DimDate[Date])
)
)I recieved an error "A table of multiple values was supplied where a single value was expected.".
Does anyone have any other suggestions?
Thanks
Solved! Go to Solution.
@Anonymous,
You may use DAX below.
Column =
CONCATENATEX (
FILTER (
'Event Header_Basic',
'Event Header_Basic'[Date Start] <= ( DimDate[Date] )
&& 'Event Header_Basic'[Date End] >= ( DimDate[Date] )
),
'Event Header_Basic'[POS Event Code],
","
)
@Anonymous,
You may use DAX below.
Column =
CONCATENATEX (
FILTER (
'Event Header_Basic',
'Event Header_Basic'[Date Start] <= ( DimDate[Date] )
&& 'Event Header_Basic'[Date End] >= ( DimDate[Date] )
),
'Event Header_Basic'[POS Event Code],
","
)
I have a similar case and this DAX "almost" works for me, the only challenge that I have is that I have multiple lines with multiple results, hence I end up getting something like "A,A,A,B,B,B,C,C". How can this formula be modified if I have 1 or 2 more criteria (columns) to match?
thanks in advance @v-chuncz-msft
Rgds,
Fer
You're the best, thanks!
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 75 | |
| 36 | |
| 31 | |
| 29 | |
| 26 |