Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi,
I am connected to SSAS (live connection) and can't do changes to the model by creating columns. I have the below tables with follwing connection:
Factor Master [Customer Code] -> Customer Master [Customer Code]
Factor Master [Item Number] -> Item Master [Item Number]
Factor Master [Date] -> Date [Date]
Fact Table [Customer Code] -> Customer Master [Customer Code]
Fact Table [Item Number] -> Item Master [Item Number]
Fact Table [Date] -> Date [Date]
Goal: Acheive city value table
How?
For example:
I created the following measures:
When I pull measure 3 to city, measure 3 picks the data for the customer that has last date and put it for the city. In the example of New York, I can see the data for last date in Customer A instead of data for last date in customer A + data of last date for customer C
Please help.
Solved! Go to Solution.
Hi @Omega ,
You could create a new measure to sum your Measure 3.
Measure 4 =
VAR _table =
ADDCOLUMNS (
CROSSJOIN (
VALUES ( 'Customer Master'[Customer] ),
VALUES ( 'Customer Master'[City] )
),
"v", [Measure 3]
)
RETURN
SUMX ( _table, [v] )
I cannot follow your measures to get the result, so I made some changes in these measures.
Here is the result.
Here is the test file for your reference.
Hi @Omega ,
You could create a new measure to sum your Measure 3.
Measure 4 =
VAR _table =
ADDCOLUMNS (
CROSSJOIN (
VALUES ( 'Customer Master'[Customer] ),
VALUES ( 'Customer Master'[City] )
),
"v", [Measure 3]
)
RETURN
SUMX ( _table, [v] )
I cannot follow your measures to get the result, so I made some changes in these measures.
Here is the result.
Here is the test file for your reference.
Thanks a lot! It's been cracking my head for a while 🙂
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
108 | |
105 | |
87 | |
74 | |
66 |
User | Count |
---|---|
124 | |
112 | |
96 | |
80 | |
72 |