Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Hello,
I embeded a PowerApp in my PowerBI dashboard. I am receiving the following error.
This only happens when there are null values in the Due_Date field. I tried creating another column where Due_Date was converted into Text to get past the date format issue but I still get the same error.
Next I attempted to add a condition to check for blank values and changed this code:
xAppFlow.Run(
JSON(
[@PowerBIIntegration].Data,
JSONFormat.IncludeBinaryData
)
);
Notify(
"Your request has been submitted",
NotificationType.Success,
5000
);
Reset(Comments);
Reset('Request Type');
to this code...
ClearCollect(
ProcessedData,
ForAll(
[@PowerBIIntegration].Data,
{
'ID': 'ID',
'Operating System': 'Operating System',
V_id: v_id,
'Created at': 'Created at',
'Due Date': If(IsBlank('Due Date'), DateValue(" "), 'Due Date')
}
)
);
// Run the Power Automate flow with the processed data
xAppFlow.Run(
JSON(
ProcessedData,
JSONFormat.IncludeBinaryData
)
);
Notify(
"Your request has been submitted",
NotificationType.Success,
5000
);
Reset(Comments);
Reset('Request Type');
I tried the above code by leaving the blank values as " " or by changing them to "1/1/9999" but none of my attempts worked. Asking the community for ideas to get past this error.
Note: All of these codes work when Due_Date values are not NULL.
Solved! Go to Solution.
I was able to resovle this. As inelegant as it is, I'm sharing the solution in case it helps others.
Basically, I created a measure to handle blank values and passed it through to power apps and it worked.
m_DueDateText =
VAR DueDateValue = MAX(dashboard[due_date])
RETURN
IF (
ISBLANK(DueDateValue),
"",
FORMAT(DueDateValue, "YYYY-MM-DD")
)
I was able to resovle this. As inelegant as it is, I'm sharing the solution in case it helps others.
Basically, I created a measure to handle blank values and passed it through to power apps and it worked.
m_DueDateText =
VAR DueDateValue = MAX(dashboard[due_date])
RETURN
IF (
ISBLANK(DueDateValue),
"",
FORMAT(DueDateValue, "YYYY-MM-DD")
)
Hi Team,
Not sure if I can post my question here but its related to PowerBIIntegration.Data in powerapp.
I have powerbi report in pbi desktop where I am pulling table list from excel file. Table list has Chnage Number as key field. I have used powerApp visual using Change Number from same tabel list. It navigated me to powerapp studio and I created form using same excel list as my data source. In that form ,I want record to be selected to update other fields related to selcted change number. For that I am using Lookup item using PowerBIIntegration.Data but its not populating any data.
I am uisng below function in Item - LookUp('Manual3',Title=First(PowerBIIntegration.Data).Change Number)
Manual3 is datasource (online excel file) for form. After PowerBIIntegration.Data,its not populating any column in function.
Not sure what I am misisng here. Error says Chnage number not valid/not found
Can somebody please help me here. Really appreciate your input
Hi @aaa12 ,
Thanks for reaching out to this forum.
Did you get this error when you opened the dashboard on Power BI mobile apps? Is there an attempt to open it in Power BI Desktop or Power BI Service?
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
hey stephen - yes, I get the error when I am in Power BI and launch Power Apps and submit data/request. I get the same error whether I open it in Power BI Desktop or PowerBI Services.
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
2 | |
2 | |
1 | |
1 | |
1 |