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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
AdrianLock
Helper I
Helper I

How to filter table by row and then locate relevant column

Hi im new to poweerbi and getting there slowly learing .   I have spent all day pulling my hair out trying to work this out. Using loads of different ways to know affect.

I have large dataset, that has been pulled from Cisco.  I also have amoungst other tables a table I created to hold KPI values.   The table looks like this(below).  Now the region field is linked to table which hold every call that comes via its region field.   I have a spreate date table which works out a number of different date values based on start date of the call.

I need to create gauage chart against both KPI's for 60sec and 120 sec of anwser

I was hoping I could create a measure for 60 and one for 120.  By pulling correct value from the table. 

The page this is going to work on.  Already filters the region from a slicer, so I assume this would reduce my table to 2 relevant rows?  I was then hoping I could find the row that corropsonds to KPI.  Then go along the columns to one which matches our fisical year.  Current year is worked out from formular below

VAR _currentFiscalYear = YEAR(today())+ QUOTIENT(MONTH(today())+ (13-4),13
(Code above works out our fisical year that starts in April)

Once relvant row has been matched then give me corosponding value.

 

RegionKPI (seconds)202120222023
region160808588
region1120909395
region26075 75 78
region2120858891


Any help would be much appricated on this

1 REPLY 1
lbendlin
Super User
Super User

Please provide sanitized sample data that fully covers your issue. Please show the expected outcome.

 

Be aware that if you have a calendar table you can use Time Intelligence functions, some of which even support Fiscal periods. 

https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors