Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hello,
New to Power BI. Need some help.
I am trying to figure out COPQ. I am taking and adding columns [LAB]+[MAT]+[OH] and dividing by [Revenue] and this will give me my COPQ percentage. But i need to filter out any row that contains "VS" or "V". I have tried the filter in the filter section of the gui interface but when i try to filter there it messes with my revenue numbers as well.
Any ideas?
Ok let me see if this is a better explanation. I have a table from an ODBC query and a table from an excel query. Here is the excel table:
the highlighted columns are the columns i am using for this situation.
Here is the ODBC table:
I am only using the revenue data from this table.
So using a measure i am able to pull the data from both tables and calulate COPQ by using this code:
How to get good help fast. Help us help you.
How To Ask A Technical Question If you Really Want An Answer
How to Get Your Question Answered Quickly - Give us a good and concise explanation
How to provide sample data in the Power BI Forum - Provide data in a table format per the link, or share an Excel/CSV file via OneDrive, Dropbox, etc.. Provide expected output using a screenshot of Excel or other image. Do not provide a screenshot of the source data. I cannot paste an image into Power BI tables.
DAX is for Analysis. Power Query is for Data Modeling
Proud to be a Super User!
MCSA: BI Reporting