Forum Discussion
Help with filtered query
I've a special request with the following db schema : Relations are one to many from left to right below.
| CUSTOMER | SCENARIO | FILE | LINESOFFILE |
id | id | id | id |
| name | name | name | line1 |
| customer_id | dateupload | line2 | |
| scenario_id | file_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
- lbendlinSuper 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