Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Currently i have three tables A,B,C. Table A is for computer deployment quantity, Table B for computer stock and Table C for computer cost.
I had to create a measure to calculate the cost of the computers thats being deployed, the formula goes like this
Solved! Go to Solution.
HI @nchandran,
Perhaps you can do unpivot column on your value fields to convert them to attribute and values, then you can simply mapping table records based on the model field and use the current value as a condition to calculate.
Unpivot columns (Power Query) (microsoft.com)
Regards,
Xiaoxin Sheng
What you are looking for is called a "data model" and it consists of tables that are linked by common columns (called "keys"). Some of the tables are considered "dimensions" (stuff you filter by) and some are considered "facts" (stuff you calculate).
Identify the common fields between your tables and create your data model according to the business question you are trying to answer.
Thank you but i believe i've already passed that stage , the current formula is perfect except im looking to replace those manual inputs with automatic updates. For instance if i change the cost in the sharepoint when i perform a refresh the cost formula will put the changes. I'm not sure how to write that formula.
The screenshots show what I mean here.
Correct your data model. The dimensions need to be in a 1:* relationship with the fact table, and a single filter direction.
I've change as suggested, i need help on the formulat for column measure where
ADCS[Precision5560]*2630 + ADCS[Latitude5420]*1400, the bolded units should be pulled from the Cost table where under model column the cost should be selected in that row. Please refer to the photos and we seek your guidance on this.
HI @nchandran,
Perhaps you can do unpivot column on your value fields to convert them to attribute and values, then you can simply mapping table records based on the model field and use the current value as a condition to calculate.
Unpivot columns (Power Query) (microsoft.com)
Regards,
Xiaoxin Sheng
User | Count |
---|---|
141 | |
113 | |
104 | |
78 | |
64 |
User | Count |
---|---|
136 | |
125 | |
107 | |
70 | |
61 |