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 September 15. Request your voucher.
Hi!
I have two tables:
dimension
fact
with this relationship
I'm trying to make a measure that when the value of the dimension[Value] column is empty, use the value of the fact[Subvalue] column. I could do this with Power Query or calculated column, but I'm trying with dax, I did this dax meause here, but when the dimension[Value] column value is empty, it returns empty instead of Germany.
how do i get this with DAX measure?
Solved! Go to Solution.
Measure =
IF (
MAX ( dim[Value] ) = BLANK (),
CALCULATE (
MAXX ( FILTER ( 'fact', 'fact'[Index] = MAX ( dim[Index] ) ), 'fact'[Value] )
),
MAX ( dim[Value] )
)
Hello that such community, I have a similar request, I want to place a UNIQUE value in a "CARD" try with the code that comes in the previous example but did not come out excato what I need.
My problem is as follows:
Thank you in advance for your valuable contributions
Measure =
IF (
MAX ( dim[Value] ) = BLANK (),
CALCULATE (
MAXX ( FILTER ( 'fact', 'fact'[Index] = MAX ( dim[Index] ) ), 'fact'[Value] )
),
MAX ( dim[Value] )
)
User | Count |
---|---|
64 | |
55 | |
54 | |
51 | |
31 |
User | Count |
---|---|
180 | |
88 | |
70 | |
46 | |
43 |