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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Anonymous
Not applicable

[Power BI AP] POST Dataset relationship generates blank on filter

I have a dataset schema that looks like this 

 

{  
   "name":"sample",
   "defaultMode":"Push",
   "tables":[  
      {  
         "name":"Table1",
         "columns":[  
            {  
               "name":"date",
               "dataType":"DateTime"
            },
            {  
               "name":"Hour",
               "dataType":"DateTime"
            },
            {  
               "name":"Zone",
               "dataType":"string"
            },
            {  
               "name":"Type",
               "dataType":"string"
            },
            {  
               "name":"Price",
               "dataType":"Int64"
            }
         ]
      },
      {  
         "name":"zone",
         "columns":[  
            {  
               "name":"zone",
               "dataType":"string"
            }
         ]
      }
   ],
   "relationships":[  
      {  
         "name":"123",
         "fromTable":"zone",
         "fromColumn":"zone",
         "toTable":"table1",
         "toColumn":"Zone",
         "crossFilteringBehavior":"OneDirection"
      }
   ]
}

When I post the dataset, and fill it with rows, containing only two zones each. I get a blank in the filter viz. I don't have any idea where this blank comes from. Do you have any idea where this might come from ?

 

Capture.PNG

0 REPLIES 0

Helpful resources

Announcements
July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

July Newsletter

Fabric Community Update - July 2024

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