Free cookie consent management tool by TermsFeed Policy Generator
  • Azure SQL Video
  •    3 page views
  •   2668 video views
  • 2024, May 05, Sunday

#089 How to create Graph Table in Azure SQL | SQL Server

Apresentamos nesse vídeo como criar tabela de Grafo no Azure SQL/SQL Server para disponibilizar estrutura de relacionamentos complexos de muitos para muitos e apresentar o resultado no Power BI

We'll learn about the techniques

: Example of the solution with the Thesaurus dictionary
  1. :Use a

    Thesaurus

    • dictionary to create a data model that relates synonyms and related terms, providing a more robust query structure.
  2. Create Tables to Store Nodes and Edges:

    • Define tables in the database to store information about nodes (NODES) and edges (EDGE) that represent relationships.
  3. Insert Records into the Node Table:

    • Add records to the node table (NODES) representing entities or concepts.
  4. Insert Records into the Edge Table:

    • Add records to the edge table (EDGE) representing connections or relationships between the nodes.
  5. Query table records:

    • Perform queries to visualize the data stored in the tables, obtaining information about nodes and edges.
  6. Filter records by conditional nodes and edges
  7. :
    • Use WHERE and MATCH clauses to filter records based on specific conditions, considering nodes and edges.

  8. Get data from the database in

    Power BI:
    • Use Power BI to connect to the SQL Server database, choosing the connectivity mode (DIRECTQUERY) for direct interaction with the data.
  9. Create
  10. in-database view: Create

    • in-database views, such as views (VIEW), which can include operations such as CONCAT to combine data.
  11. Get new

    Power BI visual
    • : In Power BI, get specific visualizations, such as the "Force-Directed Graph" visual, to represent the relationships between nodes and edges.
  12. Format visual display of relationships between nodes:

    • Customize the formatting of the "Force-Directed Graph" visual in Power BI, adjusting elements such as links, arrows, colors, and labels to improve the presentation of relationships.

This content contains
  • Content Video
  • Language Portuguese
  • Duration 12m 21s
  • Subtitles Sim

  • Reading time 1 min 14 seg

avatar
Fabio Santos

Data Scientist and Consultant for Digital and Analytics Solutions


  • Share

Youtube Channel

@fabioms

Subscribe now