This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowJuly 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more
Hi everyone,
i want create a custom card to show one specific value when the data to show is (Blank).
My idea is create an input of text in format section, to replace in visual when the data is null.
With i have at this moment appear the name of option in format but no the textfield and i dont know what i must write to it work.
I am a bit new in this creation of custom visuals,so please apologize me if you see basic errors.
Thanks in advance!
At this moment i have this:
capabilities:
{
"dataRoles": [
{
"displayName": "Field",
"name": "field",
"kind": "Measure"
}
],
"objects": {
"blankText": {
"displayName": "Blank Text",
"properties": {
"description": {
"type": {"text": true},
"description": "New value to change (Blank) value "
},
.....
"dataViewMappings": [
{
"conditions": [
{
"field": {
"max": 1
}
}
],
"single": {
"role": "field"
}
}
]
}visual:
Solved! Go to Solution.
We'd recommend to read this article to find out more about adding new options into Format Panel.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
Your link is dead.
We'd recommend to read this article to find out more about adding new options into Format Panel.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!
Check out the July 2026 Power BI update to learn about new features.