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
TomasGazsi
Frequent Visitor

It is possible to hide the column (measured/calculated) for the first year of comparison?

Hi, 

first of all, I am a beginner in Power Bi. Therefore I apologize if this is a simple question. 

I need compare 2023y. with 2024y. So I use metrix:

 

 

I need only green rectangle. Year 2023 is first year of measured. 

TomasGazsi_3-1716882702001.png

 


Properties of metrix. Date is CALENDAR() table with releationship to main table:

TomasGazsi_2-1716882333328.png


Calculated column Mezirocni rozdil v % - DAX syntax:

 

pocitany_medzirocny_rozdiel_v_percentach =
IF(
    ISFILTERED('Tabl_kalendar'[Date]),
    ERROR("Rychlou míru časového měřítka je možné seskupovat nebo filtrovat jenom pomocí hierarchie data poskytnuté službou Power BI nebo primárního sloupce dat."),
    VAR __PREV_YEAR =
        CALCULATE(
            [pocitany_CelkemBezDPH],
            DATEADD('Tabl_kalendar'[Date].[Date], -1, YEAR)
        )
    RETURN
        DIVIDE([pocitany_CelkemBezDPH] - __PREV_YEAR, __PREV_YEAR)
)

 

Is possible to hide (red) column in metrix? Or it is not possible? Or is there some workaround solution? 

Thanks for any advice. 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @TomasGazsi 

 

Unfortunately, there is no such an visibility option that supports to conditionally hide/show column in Matrix. You can conditionally control whether or not the value is displayed by writing a measure, but even then the column will still be there.
Reference post : Solved: How can i hide Column ? - Microsoft Fabric Community

 

 

 

 

 

Best Regards,

Jayleny

 

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

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @TomasGazsi 

 

Unfortunately, there is no such an visibility option that supports to conditionally hide/show column in Matrix. You can conditionally control whether or not the value is displayed by writing a measure, but even then the column will still be there.
Reference post : Solved: How can i hide Column ? - Microsoft Fabric Community

 

 

 

 

 

Best Regards,

Jayleny

 

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

Hi, 

thank you for your response. I assumed that it is as you write. 

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!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 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.