Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi Team,
i need solution on below logic,
here i want to show only those vendors whoes spend happened with Doc type "OP" & with other Doc type too..e.g: (doc type = "OP" || doc type = "others")
if spend is happening with Only Doc type "OP" and with only other Doc type not required...e.g: ((doc type = "OP") and (doc type <> "OP" || doc type = "others"))
please find attached sample data for your reference i want only "Xyz" & "Lmn" vendor rows...
Thanks in advance..
Vendor Name | Document Type | ||||
OP | XE | XR | XN | XM | |
Abc | $ 300.0 | ||||
Xyz | $ 90.0 | $ 200.0 | $ 230.0 | ||
Lmn | $ 150.0 | $ 125.0 | |||
Efg | $ 85.0 |
Hello,
Thanks for prompt replay,
i have data as attached visual metrix table (row headers: vendor name, col: doc type , value: amount)
can you please help me with how to do changes in this visual using your solution.
Thanks!
Hi,
After you have created the calculated table like Vahid suggested. You can place values from this new table to your matrix and the values shown should fit your end goal. So in short use the new table to create the matrix.
Proud to be a Super User!
HI @Anonymous
If your data table is like:
then use this code to add a new table with DAX:
New Table =
FILTER (
'Table',
NOT ( ISBLANK ( 'Table'[OP] ) )
&& ( 'Table'[XE] + 'Table'[XR] + 'Table'[XN] + 'Table'[XM] ) > 0
)
output:
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
LinkedIn: www.linkedin.com/in/vahid-dm/
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
10 | |
9 | |
8 | |
8 | |
7 |
User | Count |
---|---|
13 | |
12 | |
11 | |
11 | |
8 |