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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anmolgan
Post Prodigy
Post Prodigy

Can I pass date parameters inside my Embedded powerbi report using HTML

Can I pass my date parameters so that I can filter the report A/Q to that parameters, if yes then How can I do it??

7 REPLIES 7
v-qiuyu-msft
Community Support
Community Support

Hi @Anmolgan,

 

What do you mean about "report A/Q"? 

 

If you want to pass parameter in report URL to filter report data, from this article, it's not supported now: https://docs.microsoft.com/en-us/power-bi/service-url-filters#limitations-and-troubleshooting

 

But we can filter the embedded report, see: https://community.powerbi.com/t5/Developer/how-to-create-custom-filters-for-power-bi-embedded-report...

 

Best Regards,
Qiuyun Yu 

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Yeah I have been using this link 

https://community.powerbi.com/t5/Developer/how-to-create-custom-filters-for-power-bi-embedded-report...

 

But the report is not getting rendered as it should, so..

 

by A/Q I meant that according to the report parameters which I have set on the HTML code are not working as it should.

 

This link which you have send me https://docs.microsoft.com/en-us/power-bi/service-url-filters#limitations-and-troubleshooting
does not rendere the report when I embedd it inside an HTML Page.

 


But the report is not getting rendered as it should, so..

 

by A/Q I meant that according to the report parameters which I have set on the HTML code are not working as it should.


 

Hi @Anmolgan,

 

The table name and column name in code(https://community.powerbi.com/t5/Developer/how-to-create-custom-filters-for-power-bi-embedded-report... case-sensitive, make sure you enter names correctly. 

 

Would you please share screenshots about "the report is not getting rendered as it should" and what is actually? 

 


This link which you have send me https://docs.microsoft.com/en-us/power-bi/service-url-filters#limitations-and-troubleshooting
does not rendere the report when I embedd it inside an HTML Page.


 

I already said "If you want to pass parameter in report URL to filter report data, from this article, it's not supported now" in my previous post, please double check it. 

 

Best Regards,
Qiuyun Yu 

 

 

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Yeah the table names are case sensitive What I am trying to say is If I pass start and end date the bar graph showsme 3 dates extra which does not present instart and end date values.

Hi @Anmolgan,

 

Would you please share screenshots as I mentioned previously? 

 

Best Regards,
Qiuyun Yu

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Screenshot (814).pngScreenshot (815).png


Above are the screenshots which I am getting whenver I am passing the datetime filter inside the code

Also can you tell me how can I pass the datetime values inside my HTML so that the report get filter A/Q to those values??

Any update on this??

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.