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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Guyfox
New Member

Help with filtered query

I've a special request with the following db schema : Relations are one to many from left to right below.

 

CUSTOMERSCENARIOFILELINESOFFILE

id

ididid
namenamenameline1
 customer_iddateuploadline2
  scenario_idfile_id

 

My problems are :

When i select a customer in my chart i would like to display the count of line1 which contain exact string= "String" of the latest file[dateupload].

I think i have to do some calculated column , or special mesure , but cannot find a solution for the moment .

For the moment , when i select a customer , i only have the count of all the lines of all the files.

 

I think , i have to add column to FILE table, with countofline1 , countofline2 ?

 

Any help or advise would be helpful .

 

Thanks in advance .

1 REPLY 1
lbendlin
Super User
Super User

Please provide sanitized sample data that fully covers your issue. I cannot help you without usable sample data.
Please paste the data into a table in your post or use one of the file services like OneDrive or Google Drive. I cannot use screenshots of your source data.
Please show the expected outcome based on the sample data you provided. Screenshots of the expected outcome are ok.

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

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.

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Kudoed Authors