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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
czs
New Member

Passing blank parameter to Embed report not working

Hi team

 

I want to filter some blank value in string type in embed report and I checked the original post Solved: How to remove (Blank) value using URL Filtering - Microsoft Fabric Community , but it doesn't worked.

 

The original data is 

czs_0-1718853809136.png


and '1'/'2'.. can be filtered by url parameter

czs_2-1718853968689.png

czs_3-1718853989494.png

but the blank doesn't work, and I have tried blank,null, (Blank), etc...

 

 

Please help, thanks in advance





1 ACCEPTED SOLUTION
v-yajiewan-msft
Community Support
Community Support

Hi @czs ,

Thank you for posting in this community.

 

Currently this is by design that we cannot use the URL query string parameter to filter null or blank

 

As a workaround, we can use the following syntax to create a calculated column to check if the original column is null:

 

Column = IF(LEN('Table'[String])>0,"NotBlank","Blank")

 

vyajiewanmsft_0-1718954405366.png

Then we can filter the embed report with the new created column as shown below:

 

&filter=Table/Column eq 'Blank'

 

vyajiewanmsft_1-1718954425336.png

Or you can simply replacing the blank values to text "Blank", and then try Filter=TableName/ColumnName eq 'Blank'

vyajiewanmsft_2-1718954580412.jpeg

Similar issue for your reference:

Solved: Parameter filter in url when looking for "BLANK" v... - Microsoft Fabric Community

Best Regards,

Joyce,

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
czs
New Member

@v-yajiewan-msft  thanks for your clarify and help.

I have implemented something similiar as you mentioned in my project.

 

But I do recommend microsoft help implement the blank filter in the feature, since the "null" and "Blank" have different meaning in business and we can't calculate every column to blank. 

 

v-yajiewan-msft
Community Support
Community Support

Hi @czs ,

Thank you for posting in this community.

 

Currently this is by design that we cannot use the URL query string parameter to filter null or blank

 

As a workaround, we can use the following syntax to create a calculated column to check if the original column is null:

 

Column = IF(LEN('Table'[String])>0,"NotBlank","Blank")

 

vyajiewanmsft_0-1718954405366.png

Then we can filter the embed report with the new created column as shown below:

 

&filter=Table/Column eq 'Blank'

 

vyajiewanmsft_1-1718954425336.png

Or you can simply replacing the blank values to text "Blank", and then try Filter=TableName/ColumnName eq 'Blank'

vyajiewanmsft_2-1718954580412.jpeg

Similar issue for your reference:

Solved: Parameter filter in url when looking for "BLANK" v... - Microsoft Fabric Community

Best Regards,

Joyce,

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

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