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

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

Reply
MSMKM
Helper I
Helper I

Instead of 5 column how can i retrive when you selected any one total MTD,Total QTD, Total YTD

Hi Team,

 

when i added year wise total --- TotalMTD,TotalQTD, TotalYTD....  my questions below 

1. how we can filter ? if we needed any of TotalMTD,TotalQTD, TotalYTD this ?

 

Thanks,

Krishna 

1 ACCEPTED SOLUTION
tamerj1
Super User
Super User

Hi @MSMKM 
One method can be acheived through ustilizing a matrix visual instead of a table. Place the Year column in the rows of the matrix and place the MeasureNames[Measure] column in the columns of the matrix. Then place the proposed measure in the values. (Please refer to attached sample file with the solution).
1.png

Measure = 
SWITCH (
    SELECTEDVALUE ( 'MeasureNames'[Measure] ),
    "Total YTD", [Total YTD],
    "Total MTD", [Total MTD],
    "Total QTD", [Total QTD]
)

 

View solution in original post

4 REPLIES 4
tamerj1
Super User
Super User

Hi @MSMKM 
One method can be acheived through ustilizing a matrix visual instead of a table. Place the Year column in the rows of the matrix and place the MeasureNames[Measure] column in the columns of the matrix. Then place the proposed measure in the values. (Please refer to attached sample file with the solution).
1.png

Measure = 
SWITCH (
    SELECTEDVALUE ( 'MeasureNames'[Measure] ),
    "Total YTD", [Total YTD],
    "Total MTD", [Total MTD],
    "Total QTD", [Total QTD]
)

 

@tamerj1 --- thanks a lot .its working...

FreemanZ
Super User
Super User

hi @MSMKM 

can you elaborate your expectation?

Hi FreemanZ,

 

Recently i have attend an interview in that they are asked a question like below 

MSMKM_1-1675589099238.png

If you select any One totalYTD, TotalMTD,TotalQTD, other columns will be hide? how you will do ? 

 

Helpful resources

Announcements
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.