Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello,
I have a table that contains sales person data (name, address, license #, etc) Each sales person can have multiple documents attached to their name. I have concatenated the document type column so that the sales people only show as one row each. I want to show the names of the documents along with the file path link to view the documents. However, I only want the file path for the sales persons License to show for easy access and auditing purpases.
I can't use the basic filters cause then it will remove sales people that I don't have licenses on file & the end user of the report will not know that we are missing a license for a specific sales person cause they will be filtered out completely.
Example: the sales person has their license, an exhibit, and one other document type on file but I only want to see the name of the license not the name of the other documents; while keeping any sales reps who don't have a license on file visible on the table so that office managers can see that X sales person has their exhibit on file but not their license. Also I only want each sales rep to have ONE row per person not a different row for each doc type (thus the reason they are concatenated).
See snip, you will see the concatenated columns for the Doc List & Doc Name.
Solved! Go to Solution.
@DeanUW ,
A couple of ideas that I hope you find useful.
1) Create a new Calculated Column called "Has License":
Has License = SWITCH(
TRUE(),
CONTAINSSTRING( [Doc List], "LICENSE" ), 1,
0 )
Then you can filter on 1's and 0's to see who has licenses or not.
2) Create a new column for the file path for the License Document only. If [Has License] = 1, then show the path, else Blank().
3) Keep the column info for [Other Documents] for those agents who do not have a valid License.
Hope these tips leads you to a solution that works for you.
Regards,
@DeanUW ,
A couple of ideas that I hope you find useful.
1) Create a new Calculated Column called "Has License":
Has License = SWITCH(
TRUE(),
CONTAINSSTRING( [Doc List], "LICENSE" ), 1,
0 )
Then you can filter on 1's and 0's to see who has licenses or not.
2) Create a new column for the file path for the License Document only. If [Has License] = 1, then show the path, else Blank().
3) Keep the column info for [Other Documents] for those agents who do not have a valid License.
Hope these tips leads you to a solution that works for you.
Regards,
Hello @rsbin,
Thank you for the response & the suggestions. Your ideas worked, I was able to leveraged your "Has License" DAX & Conditional Formatting to highlight who did & didn't have a license on file; along with a conditional column for the file path to hide the other document data from view.
Thank you again for the help!
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
67 | |
65 | |
57 | |
39 | |
27 |
User | Count |
---|---|
85 | |
59 | |
45 | |
43 | |
38 |