The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Hello,
I have a Sales column, and need to substract out a specific number. The other number is in a category from another sales table. How would I be able to do this?
I have this measure
TY Sales = (SUM(FACTS_Sales[Sales]))
I am trying to get another # something like
Sum(Facts_Category[category]="tax"
Then create another sales total - sales without tax = TY sales - tax
Solved! Go to Solution.
figured it out, just needed an equal sign. For anyone looking
Create a measure
CALCULATE( SUM(Sales[Sales]),Category[Category]="TAX")
then create another measure to minus the sales with this new measure.
figured it out, just needed an equal sign. For anyone looking
Create a measure
CALCULATE( SUM(Sales[Sales]),Category[Category]="TAX")
then create another measure to minus the sales with this new measure.
User | Count |
---|---|
15 | |
12 | |
8 | |
7 | |
7 |
User | Count |
---|---|
24 | |
20 | |
12 | |
10 | |
7 |