Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
Hi all, I've scoured the web and the forums and I can't quite figure out how the syntax of this should be written. I keep getting an error.
Quite simply, I'm trying to connect Power BI to the federal government's CMS data. I can filter the data just fine with a very basic filter. For example, this works fine:
"Source = Json.Document(Web.Contents("https://data.cms.gov/data-api/v1/dataset/0a33dac8-73b2-4223-83e7-d709645c3549/data?filter[PROVNUM]=1..."))"
What I really want to do is have data for: [PROVNUM]=115404 OR [PROVNUM] = 115376.
I'm a noob at this and I've tried a million different ways. I can't seem to get the proper syntax right. I ultimately have a total of 20 PROVNUM values I'd like to daisy chain together into one table. I can call the whole table from the website but that's MASSIVE. I could write 20 queries and append it all but that's tedious and not very elegant.
How can I do this? I've tried ||, OR, or, and everything in between trying to mimick other queries I've found to no avail.
Thanks!
Solved! Go to Solution.
According to the linked documentation, you can write it using an IN operator like this:
https://data.cms.gov/data-api/v1/dataset/0a33dac8-73b2-4223-83e7-d709645c3549/data
?filter[name-filter][condition][path]=PROVNUM
&filter[name-filter][condition][operator]=IN
&filter[name-filter][condition][value][1]=115404
&filter[name-filter][condition][value][2]=115376
According to the linked documentation, you can write it using an IN operator like this:
https://data.cms.gov/data-api/v1/dataset/0a33dac8-73b2-4223-83e7-d709645c3549/data
?filter[name-filter][condition][path]=PROVNUM
&filter[name-filter][condition][operator]=IN
&filter[name-filter][condition][value][1]=115404
&filter[name-filter][condition][value][2]=115376
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 5 | |
| 3 | |
| 3 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 5 | |
| 5 | |
| 4 |