Opencart Related Products appears three times - opencart

If I add more than one related product to my product, all products will be displayed 3x. Where is the mistake?
Thanks for the help!

Related

Powerbi Matrix issues with the value field

I have a problem with Powerbi I can't seem to fix. If the answer is obvious i am sorry but i am just starting out with Powerbi.
We are trying to make a dashboard that will show if a coworker is available or not based on a code 1 -3).
We check their availability per ISOWeek. If they don't have work that week they get code 1, when they have work code 2 etc.
These codes show up the right way in SQL but when I want to add them in my matrix table and have the coworker names on the rows, the ISOWeek on the columns and then when i add the Code in values Powerbi wants to show the total, total(distinct), first or last.
The problem is it wont use the code it got per isoweek. Is there a solution for this?
Thanks in advance!
What is should look like in the matrix:
Fixed it by giving the columns: don't Summarize on the modeling tab. Then I gave the code column the minimum value for each week.

WooCommerce cart calculations

I built a website for my company and I want to know if there is a way to make add to cart button do calculations.
If the customer select a product with a price of 1
then I want to multiply it to a given number.But a different number each time not the same in all products.
Thanks in advance for any possible help.

Last Year Measure not displaying on grid when filtered

I am developing a dashboard on Power BI and i need to create a last year measure based on column FIELD MEASURE. The time level of the tale is DAY_ID (date), so i made a measure using
CALCULATE(TABLE1 [FIELD_MEASURE],SAMEPERIODLASTYEAR(TABLE1[DAY_ID].[Date]))
But when i try to filter based on a integer column called cd_mes the new metric just doesnt display on the grid. What could be the problem? The image is a little DER to help understand the problem.
Thanks in advance!
Sorry if my english is not good enough to understand the problem.
I think you are missing to use SUM() inside of CALCULATE()
Try:
CALCULATE(SUM(TABLE1[FIELD_MEASURE]),SAMEPERIODLASTYEAR(TABLE1[DAY_ID].[Date]))
or
CALCULATE(SUM(TABLE1[FIELD_MEASURE]),DATEADD(TABLE1[DAY_ID].[Date],-1,YEAR))

RELATED Function in DAX does not shows me related tables

I have a Projects table related with the Employees table. So one employee can be the group leader in many projects. The relation is between Projects.GroupLeader field and Employees.ID field
In the Products table i'm trying to add a new column to show the name of the group leader using this
Group leader = RELATED(Employees[Name]) but this does not works. In fact the intellisense of RELATED does not shows me the Employees table.
Any idea please?
regards
The problem was solved. I had not the relation active in my model
I had the same symptom, but in my case the problem was that the related table had duplicates. Check for duplicates if you are stuck!
Hope that helps!

Opencart Substract Stock doesn't work

All quantity of my product in the store are set to 10. And then my I tried to checkout . It seem the quantity of product still the same (Not Substract Stock).
Please help!!!
Go to edit a product in the admin panel and in the Data tab you will see a field called Subtract Stock. Make sure it's set to Yes.