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 the following layout in my visual. MCode comes from a dimension table. Name, Code, No and Value are generated by a measure. Thanks
Name Measure =
MCode | Name | Code | No | VAL |
ABC | AAA | AAA1 | 1 | 10 |
CDE | BBB | BBB1 | 2 | 11 |
EFG | CCC | CCC1 | 3 | 12 |
GHI | DDD | DDD1 | 4 | 13 |
IJK | EEE | EEE1 | 5 | 14 |
TOTAL | EEE | EEE1 | 15 | 60 |
I expect the below as a result
MCode | Name | Code | No | VAL |
ABC | AAA | AAA1 | 1 | 10 |
CDE | BBB | BBB1 | 2 | 11 |
EFG | CCC | CCC1 | 3 | 12 |
GHI | DDD | DDD1 | 4 | 13 |
IJK | EEE | EEE1 | 5 | 14 |
TOTAL | 15 | 60 |
Solved! Go to Solution.
pls try this
Code Measure = IF(HASONEVALUE(yourtable[Mcode]),
CALCULATE (
MAXX (
SUMMARIZE ( 'Fact Table Ordered', FI_Details[Voting_Group] ),
FI_Details[Voting_Group]
),
LASTNONBLANK ( 'Date'[FiscalYear], 0 )
),"")
------------
Name Measure =IF(HASONEVALUE(yourtable[Mcode),
CALCULATE (
MAXX (
SUMMARIZE ( 'Fact Table Ordered', FI_Details[FI_Name] ),
FI_Details[FI_Name]
),
LASTNONBLANK ( 'Date'[FiscalYear], 0 )
),"")
pls try this
Code Measure = IF(HASONEVALUE(yourtable[Mcode]),
CALCULATE (
MAXX (
SUMMARIZE ( 'Fact Table Ordered', FI_Details[Voting_Group] ),
FI_Details[Voting_Group]
),
LASTNONBLANK ( 'Date'[FiscalYear], 0 )
),"")
------------
Name Measure =IF(HASONEVALUE(yourtable[Mcode),
CALCULATE (
MAXX (
SUMMARIZE ( 'Fact Table Ordered', FI_Details[FI_Name] ),
FI_Details[FI_Name]
),
LASTNONBLANK ( 'Date'[FiscalYear], 0 )
),"")
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
111 | |
75 | |
57 | |
52 | |
44 |
User | Count |
---|---|
157 | |
113 | |
63 | |
60 | |
50 |