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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
srineshnisala
Frequent Visitor

Power BI Report builder query parameters sends null to database

I'm calling a proceedure in MariaDB. I noticed that when the query is parameterized, it doesn't send the values I added to the parameters. So I created this sample proceedure where it returns the values it received back.

 

CREATE DEFINER=`root`@`localhost` PROCEDURE `reporting_db`.`proc_Hello`(
    IN `P_StartDate` DATE,
    IN `P_EndDate` DATE
)

DETERMINISTIC
begin
    SELECT `P_StartDate`, `P_EndDate`;
END

 

When I hardcode the start date and the end date, I get the result back correctly. (Here, start date parameter has a default value of 2020-01-01)

srineshnisala_0-1702015688317.png

srineshnisala_1-1702015710935.png

 

When parameterized however, query sends null instead.

 

srineshnisala_2-1702015812816.pngsrineshnisala_3-1702015830647.png

srineshnisala_4-1702015858278.pngsrineshnisala_5-1702015873395.png

 

For parameterized start date, I get back null.

srineshnisala_6-1702016118909.png

 

I tried changing start date and end date to varchar(50) in the proceedure but result is the same. What is wrong here?

 

1 REPLY 1
mihalytorok
New Member

Hi,

 

I have the same issue. Did you find any solution for this?

 

Thank you!

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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.

Top Solution Authors
Top Kudoed Authors