Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Laura0403
Frequent Visitor

Power BI Error

Hello,

unfortunately I am not a professional and need urgent help. 

I have the following formula as output:

Laura0403_0-1648474182739.png

Unfortunately, there is then an error message in the data. Now I have tried to fix this error message as follows:

Laura0403_1-1648474219937.png

That didn't help either. I no longer know what to do.

 

Can someone help me? 

 

Thanks, Laura

1 ACCEPTED SOLUTION
Tutu_in_YYC
Super User
Super User

Hallo Laura,
Lets try and fix TopDealsAngebotsDatum first.

Try this:

TopdealAngebotsdatum =
IF(
ISERROR( LOOKUPVALUE(Angebote[datum_ang],Angebote[TopDeal],Auftraege[TopDeal])),
BLANK(),
LOOKUPVALUE(Angebote[datum_ang],Angebote[TopDeal],Auftraege[TopDeal])
)

View solution in original post

7 REPLIES 7
Laura0403
Frequent Visitor

The Data typ is Date.

Power BI is finding a few, but not all of them. There should be Dates from every Week this year 😞

Did you try this?

TopDeal_Yes-no = 

IF(
'Aufträge'[TopdealAngebotsdatum] <='Aufträge'[datum_ab] &&
'Aufträge'[TopdealAngebotsdatum]+7>'Aufträge'[datum_ab],
1,
0
)

This is working, I feel so stupid right now. 

Thank you very much.

 

I guess the Problem with the "TopDealName" and the "TopdealAngebotsdatum" is somewhere else. I need to first fix the other problem. 

 

Thank you very much 🙂

Hey Laura,
Dont worry, it happens all the time to me too 😁 DAX is not easy but it is certainly fun!

Laura0403
Frequent Visitor

Hello Tutu,
I changed this. Now it looks like this:

Laura0403_0-1648478715029.png

And the result looks like this:

Laura0403_1-1648478775035.png

so the error ist gone because blank, I got this one 😄 

Can you maybe help me with fixing the 

TopDeal_Yes-no = if('Aufträge'[TopdealAngebotsdatum]<='Aufträge'[datum_ab]&&'Aufträge'[TopdealAngebotsdatum]+7>'Aufträge'[datum_ab],1)

Make sure TopdealAngebotsdatum and datum_ab have data type Date

 

Tutu_in_YYC_0-1648479098046.png

TopDeal_Yes-no = 

IF(
'Aufträge'[TopdealAngebotsdatum] <='Aufträge'[datum_ab] &&
'Aufträge'[TopdealAngebotsdatum]+7>'Aufträge'[datum_ab],
1,
0
)

 

Tutu_in_YYC
Super User
Super User

Hallo Laura,
Lets try and fix TopDealsAngebotsDatum first.

Try this:

TopdealAngebotsdatum =
IF(
ISERROR( LOOKUPVALUE(Angebote[datum_ang],Angebote[TopDeal],Auftraege[TopDeal])),
BLANK(),
LOOKUPVALUE(Angebote[datum_ang],Angebote[TopDeal],Auftraege[TopDeal])
)

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.