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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Don't need Matrix Column headers repetition in Power BI

Hi Team,

 

Below is My input file:

DateAmount
06-06-2020500
05-06-2020700

 

Required OutPut

 

Capture2.PNG

 

Currently i am using matrix tile , I have created one measure for variance (Between two dates) when i drag the same measure in to matrix tile it will be repeating for the two dates like below snap.

InkedCapture_LI.jpg

 

But i want to show variance only one time like below snap

Capture2.PNG

 

Can you please help me out on this?

 

Thanks In Advance

1 ACCEPTED SOLUTION

Hi @Anonymous ,

 

If you don't need the total column, you could use ISINSCOPE() to replace it as variance.

Here is the measure for your reference.

Measure =
IF ( ISINSCOPE ( 'Table'[Date] ), SELECTEDVALUE ( 'Table'[Amount] ), [Your variance])

1-1.PNG 

 

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.

View solution in original post

6 REPLIES 6
amitchandak
Super User
Super User

@Anonymous ,

This kind of display you want is not supported. I posted an idea for that

https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/39773011-hybrid-table

 

Hybrid.png

Anonymous
Not applicable

Thanks for the quick reply amit.

 

I understood that by default matrix is not supported. 

 

Can we get calculated table (Using Calculated Table,Union ..)like below ?

Once we achieve this below  kind of table then only will achieve  that requirement

 

DateAmount
06-06-2020500
05-06-2020700
Variance500-700/700

 

Thanks In Advance

Hi @Anonymous ,

 

If you don't need the total column, you could use ISINSCOPE() to replace it as variance.

Here is the measure for your reference.

Measure =
IF ( ISINSCOPE ( 'Table'[Date] ), SELECTEDVALUE ( 'Table'[Amount] ), [Your variance])

1-1.PNG 

 

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.
Anonymous
Not applicable

Hi @v-eachen-msft ,

 

Your measure is working as expected. Thanks for that. and also

 

I just wanted to know about to add calculate row to an existing column based on some custom calculation like in output 

 

Input

id       value

1         10

2         20

 

Output:

 

id       value

1         10

2         20

Sub      10-20

Hi @Anonymous ,

 

Does that make sense? If so kindly mark my answer as a solution to close the case. Thanks in advance.

 

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.

Hi @Anonymous ,

 

You coudld create a new calculated table.

Table 2 =
UNION (
    'Table',
    DISTINCT (
        SELECTCOLUMNS (
            'Table',
            "id", "Variance",
            "value", MIN ( 'Table'[value] ) - MAX ( 'Table'[value] )
        )
    )
)

Here is the result.

1-1.PNG

 

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.