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 August 31st. Request your voucher.
Hello everyone!
I need to create a relationship between two tables within a dax measure.
I have the following both tables:
tblOrder
OrderNr | Date | Value |
1 | 01.01.2020 | 5000 |
tblLedger
OrderNr | Date | Type | Quantity |
1 | 01.01.2020 | B | 50 |
1 | 01.01.2020 | T | 500 |
Unfortuantely, for now it is not possible to link both tables in the data model.
So there is wheter an active oder inactive relationship.
Now I would like to display every order in a matrix/ table with two colums.
The first one for all Types = B
And the second one for all Types = T
But how?
@joshua1990 , Not very clear, You can take type on matrix column. Ideally, these two should be joined to common orderNr Dimension
User | Count |
---|---|
27 | |
12 | |
8 | |
8 | |
5 |
User | Count |
---|---|
31 | |
15 | |
12 | |
7 | |
6 |