The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hello All,
I need to use a coulmn as a slicer from another table with inactive relashionship.
I created a coulmn with the following DAX code :
Solved! Go to Solution.
@AkoFar ,It should return one value
example
Program Academic Year =
CALCULATE (
Max ( 'Date Calendar'[Academic Period] ),
USERELATIONSHIP ( 'Program Hierarchy'[Program Offering Start Date], 'Date Calendar'[Calendar Date] ),
FILTER (
'Date Calendar',
'Program Hierarchy'[Program Offering Start Date] = 'Date Calendar'[Calendar Date]
)
)
@AkoFar ,It should return one value
example
Program Academic Year =
CALCULATE (
Max ( 'Date Calendar'[Academic Period] ),
USERELATIONSHIP ( 'Program Hierarchy'[Program Offering Start Date], 'Date Calendar'[Calendar Date] ),
FILTER (
'Date Calendar',
'Program Hierarchy'[Program Offering Start Date] = 'Date Calendar'[Calendar Date]
)
)
User | Count |
---|---|
18 | |
8 | |
7 | |
6 | |
6 |
User | Count |
---|---|
27 | |
13 | |
12 | |
9 | |
8 |