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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Arghya_Dutta
Regular Visitor

make a table by using matrix

How to extract the data completely from the matrix visual in a tabular form. So that I can use that summarise data in any form for lookup and other things dynamically.
The outputs are showing from measures.

 

 

5 REPLIES 5
v-zhengdxu-msft
Community Support
Community Support

Hi @Arghya_Dutta 

 

You can export the data from the matrix visual, here for your reference:

Export data from a Power BI visualization - Power BI | Microsoft Learn

vzhengdxumsft_0-1734055774076.png

 

Once you have exported the data to Excel, you can use it for lookup and other dynamic purposes. You can further manipulate the data in Excel or import it back into Power BI for additional analysis.

 

Best Regards

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

Bibiano_Geraldo
Community Champion
Community Champion

Hi @Arghya_Dutta ,

Please provide more details, extract for where?

I hope this helps! 
If you found this answer helpful:
✔️ Mark it as the solution to help others find it faster.
 Give it a like to show your appreciation!

Thank you for contributing to our amazing Power BI community! 

I have a matrix from my Part Wise CS table In which 

Rows Contains

1. Part Number 
2. Part Name

Columns Contains:

Month

Values Contains
Qty
STDV ---------------Its a measure
Avg.-----------------Its a measure
Check---------------Its a measure

this is my check measure

Check = value ( (CALCULATE(STDEV.P('Part Wise CS'[Qty]),'Part Wise CS'[Month]<>SWITCH(
    MONTH(MAX(Calender[Date])),
    1"January",
    2"February",
    3"March",
    4"April",
    5"May",
    6"June",
    7"July",
    8"August",
    9"September",
    10"October",
    11"November",
    12"December"
)) + CALCULATE(AVERAGE('Part Wise CS'[Qty]),'Part Wise CS'[Month]<>SWITCH(
    MONTH(MAX(Calender[Date])),
    1"January",
    2"February",
    3"March",
    4"April",
    5"May",
    6"June",
    7"July",
    8"August",
    9"September",
    10"October",
    11"November",
    12"December"
)))*0.3 +CALCULATE(STDEV.P('Part Wise CS'[Qty]),'Part Wise CS'[Month]<>SWITCH(
    MONTH(MAX(Calender[Date])),
    1"January",
    2"February",
    3"March",
    4"April",
    5"May",
    6"June",
    7"July",
    8"August",
    9"September",
    10"October",
    11"November",
    12"December"
)) + CALCULATE(AVERAGE('Part Wise CS'[Qty]),'Part Wise CS'[Month]<>SWITCH(
    MONTH(MAX(Calender[Date])),
    1"January",
    2"February",
    3"March",
    4"April",
    5"May",
    6"June",
    7"July",
    8"August",
    9"September",
    10"October",
    11"November",
    12"December"
))-
CALCULATE(SUM('Part Wise CS'[Qty]),
'Part Wise CS'[Month]=
SWITCH(
    MONTH(MAX(Calender[Date])),
    1"January",
    2"February",
    3"March",
    4"April",
    5"May",
    6"June",
    7"July",
    8"August",
    9"September",
    10"October",
    11"November",
    12"December"
)))

This is my STDV measure

STDV =
VAR LatestMonth =
    SWITCH(
        MONTH(MAX('Calender'[Date])),
        1"January",
        2"February",
        3"March",
        4"April",
        5"May",
        6"June",
        7"July",
        8"August",
        9"September",
        10"October",
        11"November",
        12"December"
    )
VAR ValidRows =
    FILTER(
        'Part Wise CS',
        'Part Wise CS'[CSD_PNO] = MAX('Part Wise CS'[CSD_PNO])
    )
VAR DataExcludingLatestMonth =
    FILTER(
        ValidRows,
        'Part Wise CS'[Month] <> LatestMonth
    )
VAR Result =
    CALCULATE(
        STDEV.P('Part Wise CS'[Qty]),
        DataExcludingLatestMonth
    )
RETURN
IF(
    COUNTROWS(DataExcludingLatestMonth) > 1,
    Result,
    BLANK()
)

This is my Avg. measure

Avg. = CALCULATE(AVERAGE('Part Wise CS'[Qty]),'Part Wise CS'[Month]<>SWITCH(
    MONTH(MAX(Calender[Date])),
    1"January",
    2"February",
    3"March",
    4"April",
    5"May",
    6"June",
    7"July",
    8"August",
    9"September",
    10"October",
    11"November",
    12"December"
))

The measures changes there values as per my selected months from Slicer of Month. this month is from Calender Table. 

The Part wise CS and Calender table is connected through a common column which is concatenate. 
Now in matrix visual I am getting part number, part name, Avg., Stdv and Check

I want to capture that Check values which is actually Rows total against each Part number which should be dynamically. So That I can use that check measures values against each part number as per selected slicer for look up with other table.
danextian
Super User
Super User

Hi @Arghya_Dutta 

Matrix visual and any other viz will export data of whatever field/measurs are added to it. So if you select only a few dimensions and a few measures , you'll get just those dimensions and measures. If you want the complete underlying data, all the dimensions and measures must be complely present in the viz.










Did I answer your question? Mark my post as a solution!


Proud to be a Super User!









"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.
Tahreem24
Super User
Super User

@Arghya_Dutta  Could you explain with the help of screen shots or dummy data?

 

 

Don't forget to give thumbs up and accept this as a solution if it helped you!!!

Please take a quick glance at newly created dashboards : Restaurant Management Dashboard , HR Analytics Report , Hotel Management Report, Sales Analysis Report , Fortune 500 Companies Analysis , Revenue Tracking Dashboard

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.