Join 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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Dear datanauts,
I have trouble relating two datasets:
One of which contains my Fact production data (batch ids, start/end dates, product names etc.) and another carries Fact IssueHandling (with category of incident, start/end date, time lost, solution text etc.)
What I'm trying to do is to find back for each incident the name of the product produced during the incident.
Back in Excel I used a "MATCH()", which performed a lookup by comparing the timestamp of the incident notification to the nearest lower timestamp of the production data.
But the excel solution is of course a "calculated column"...
Is there a way to ´rebuild' this in PowerBI? Preferably as measure, if no other way as calculated column...
Thanks in advance...
Hi Jan_Orlandini,
Power bi also support calculate column, please refer to this documentation : https://docs.microsoft.com/en-us/power-bi/desktop-tutorial-create-calculated-columns.
Regards,
Jimmy Tao
Hi Jimmy,
of course, I know about that: But still the question remains - what DAX code do I need to make it happen?
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 41 | |
| 38 | |
| 36 | |
| 30 | |
| 28 |
| User | Count |
|---|---|
| 129 | |
| 88 | |
| 79 | |
| 68 | |
| 63 |