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!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
My PowerBI pulls from about 8 excel files. One of the things it returns is the name of someone assigned to a certain date range. This comes from an excel sheet where names are assigned to weeks and I use the today() expression within lookup to display the name assigned to that week. While PowerBI refreshes, it is still pulling the old name based on the last time the excel sheet was saved. If I open the excel sheet and save it, PowerBi then pulls the right name. Is there a way I can get PowerBI to update the excel sheet automatically? Do I need to use PowerAutomate to open/save/close the sheet daily?
Solved! Go to Solution.
I'd probably do something like:
Current Primary =
CALCULATE (
SELECTEDVALUE( Assignment[Primary Individual] ),
Assignment[Date Start] <= TODAY(),
Assignment[Date End] >= TODAY()
)
I'm sure you could use power automate
to recalculate a sheet.
If I were you though I'd pull the raw data table in and write a measure to reproduce the logic inside power bi.
That makes sense to just have it look it up within PowerBI... Thanks! I'm not great with DAX, can you help with the equation? in Excel it's
=LOOKUP(2,1/($A$29:$A$34<=TODAY())/($B$29:$B$34>=TODAY()),$C$29:$C$34)
Within PowerBI, would it be a "lookupvalue" function?
Hi,
Share some data, describe the question and show the expected result.
I'd probably do something like:
Current Primary =
CALCULATE (
SELECTEDVALUE( Assignment[Primary Individual] ),
Assignment[Date Start] <= TODAY(),
Assignment[Date End] >= TODAY()
)
That creates a measure which would display todays primary. If that's all you need then just drop it in a card visual.
If you have more complicate needs downstream of that then give some details.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 50 | |
| 49 | |
| 35 | |
| 15 | |
| 14 |
| User | Count |
|---|---|
| 92 | |
| 75 | |
| 41 | |
| 26 | |
| 25 |