March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi
I have a table showing per contract filtered measures for SaleM3, TotalM3 and Sale Value. The sum of the SaleM3 and Total M3 are correct however the Sale Value total is not filtered to only what is showing on the table. My plan is to have a card showing the total sale value for "Today" and compare this against previous day, previous week, MTD etc, please see below.
MAINM3 = CALCULATE( SUM('MAINDrops'[Quantity]), FILTER(MAINDrops,MAINDrops[StatusID] = 2) )
D16M3 = CALCULATE( SUM('D16Drops'[Quantity]), FILTER(D16Drops,D16Drops[StatusID] = 2) )
PIPEM3 = CALCULATE( SUM('PIPEDrops'[Quantity]), FILTER(PIPEDrops,PIPEDrops[StatusID] = 2) )
Hi @sanderson82
Do you have four tables as below
If tables have the same structure, we could append them to one table.
Would you like this method?
Any way, could you share the structures of four table so that we would move to next step?
(I need to know relationship among these tables, whether columns have the same numbers and names)
Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @v-juanli-msft thanks for your reply.
The tables MainDrops, D16Drops and PipeDrops all have exactly the same structure. It is basically 3 instances of the same application, each with their own SQL back end.
The table 'Contract Manager' I use as a central reference. This is linked to 3 other tables, MainCustomers, D16Customers and PIPECustomers by a "Name" field.
There are then 3 "Site" tables (Main, D16, PIpe) where the above name is linked to an ID. This ID is then linked to 3 "Jobs" tables (Main, D16, Pipe). by "JobID" field.
JobID for all 3 tables is then linked to 3 "Loads" tables.
ID in the 3 Loads tables is then linked to "LoadID" in the 3 Drops tables.
Hope that makes sense!!
I'm wondering could I join the 3 Drops tables as you have suggested and link this back individually to the 3 Loads tables?
User | Count |
---|---|
117 | |
77 | |
58 | |
52 | |
46 |
User | Count |
---|---|
171 | |
117 | |
63 | |
57 | |
51 |