The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hey folks,
I'm looking for some assistance 🙂
I have a web form (response stored in SQL db) that team members complete on a particular date/time with the responses stored like so:
Teams run in various iterations/sprints (different table) (see below):
Rather than group the responses by date/month, we want them to be grouped by Sprint/iteration name (in the scenario above for example the responses would be for 'Sprint 10).
What would be the best way to go about it? No relationships between the two tables currently.
Solved! Go to Solution.
Hi @Anonymous ,
Try creating a column or measure as follows:
column:
Column =
MAXX (
FILTER (
'Sprint',
Sprint[StartDate] <= Response[Date]
&& Sprint[EndDate] >= Response[Date]
),
[IterationName]
)
measure:
Measure =
MAXX (
FILTER (
'Sprint',
Sprint[StartDate] <= MAX ( Response[Date] )
&& Sprint[EndDate] >= MAX ( Response[Date] )
),
[IterationName]
)
For more details, see the attached PBIX.
Best regards
Icey
If this post helps,then please consider Accepting it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
Try creating a column or measure as follows:
column:
Column =
MAXX (
FILTER (
'Sprint',
Sprint[StartDate] <= Response[Date]
&& Sprint[EndDate] >= Response[Date]
),
[IterationName]
)
measure:
Measure =
MAXX (
FILTER (
'Sprint',
Sprint[StartDate] <= MAX ( Response[Date] )
&& Sprint[EndDate] >= MAX ( Response[Date] )
),
[IterationName]
)
For more details, see the attached PBIX.
Best regards
Icey
If this post helps,then please consider Accepting it as the solution to help the other members find it more quickly.
@Icey thanks - this (column) was the solution I was after - thanks to the others for a quick response too 🙂
I did not get it completely. But refer if this can help
Appreciate your Kudos.
I just created this recently:
https://community.powerbi.com/t5/Quick-Measures-Gallery/LOOKUPVALUE-Range/td-p/974201