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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Redraidas10
Frequent Visitor

Power BI - Monday.com: Seeking Suggestions on Enhancing My Super Simple API Query

My query is functioning correctly, it currently only returns the columns from my boards. How can I modify it to ensure that it also returns group names such as Q1, Q2, Q3, etc. (example attached)? Thank you for your assistance.


Board example.JPG


**My API code that needs tweaking to include groups:**

 

let
MondayQuery1 = "{""query"": ""{boards(ids: ",
MondayQuery2 = "*MY BOARD ID*",
MondayQuery3 = ") {items_page(limit: 100) {cursor items {id name column_values {text column {title}}}}}}""}",
MondayFullQuery = MondayQuery1 & MondayQuery2 & MondayQuery3,
Source = Web.Contents("https://api.monday.com/",
[
RelativePath="v2",
Headers=
[
#"Method"="POST",
#"Content-Type"="application/json",
#"Authorization"="*MY API TOKEN*",
#"API-Version"="2023-10"
],
Content=Text.ToBinary(MondayFullQuery)
]
),
#"JSON" = Json.Document(Source, 65001),
data = JSON[data],
boards = data[boards],
#"Converted to Table" = Table.FromList(boards, Splitter.SplitByNothing(), null, null, ExtraValues.Error)
in
#"Converted to Table"

1 REPLY 1
Anonymous
Not applicable

Hi  @Redraidas10 ,

 

What does "returns group names" refer to, and what does the data display look like on the PQ page, and is it possible to get the group name field directly by clicking on the drill down or pivot/reverse pivot, and then the data conversion button on the interface after getting the data?

 

Best Regards,

Liu Yang

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

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.