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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Charu
Post Patron
Post Patron

Custom Table Visual in power BI

Dear All,

 

Could some one please help whether the below scenario/requirement is possible in power BI?

 

There are 4 different tables and those are not related to each other.But I need single table visual to display the information as like below 

 

Table visual:

TblVisual.PNG

query.PNG

 

 

Row1 is from table1 query
Row2 is from table2 query

Row3 is from table3 query

Row4 is from table4 Query

Row 5 is the total values of above rows.

 

Kindly please help me out to get the solution.

Thanks for understanding

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Charu ,

You can consider to add a new table with all row labels, then write a measure to get correspond result based on current row label.

Sample:

Row label =
DATATABLE (
    "Rows", STRING,
    {
        { "T1" },
        { "T2" },
        { "T3" },
        { "T4" },
        { "Total" }
    }
)
Dynamic Measure =
VAR currRow =
    SELECTEDVALUE ( 'Row label'[Rows] )
RETURN
    SWITCH (
        currRow,
        "T1", "table1 formula",
        "T2", "table2 formula",
        "T3", "table3 formula",
        "T4", "table4 formula",
        "Total", "total formula",
        IF (
            ISFILTERED ( 'Row label'[Rows] ) = FALSE (),
            "Total level formula",
            "Unmatched"
        )
    )

7.png

Regards,

Xiaoxin Sheng

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @Charu ,

You can consider to add a new table with all row labels, then write a measure to get correspond result based on current row label.

Sample:

Row label =
DATATABLE (
    "Rows", STRING,
    {
        { "T1" },
        { "T2" },
        { "T3" },
        { "T4" },
        { "Total" }
    }
)
Dynamic Measure =
VAR currRow =
    SELECTEDVALUE ( 'Row label'[Rows] )
RETURN
    SWITCH (
        currRow,
        "T1", "table1 formula",
        "T2", "table2 formula",
        "T3", "table3 formula",
        "T4", "table4 formula",
        "Total", "total formula",
        IF (
            ISFILTERED ( 'Row label'[Rows] ) = FALSE (),
            "Total level formula",
            "Unmatched"
        )
    )

7.png

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

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.

Top Solution Authors
Top Kudoed Authors