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 Experts ,
I am stuck with the scenario below :
Recently i have applied unpivot columns for few columns to rearrange the rows & attributes.
After that most of the columns are duplicated (expected) , I have fixed few values related to that columns by using DISTINCT dax , but I cannot use the same DISTINCT into the measure which i have created to summing up the values and with using some other measures as below :
after unpivot : (27 rows)
Now the case is I cannot use DISTINCT to get the 1 Account value from this measure.
Now it is showing below huge number : total 27 rows = 27*51246
Solved! Go to Solution.
Hi, @dinesharivalaga
As an example, does your sample data look like this?
Maybe you can try this formula.
Measure =
VAR _table=DISTINCT('Table')
RETURN
SUMX(_table,[Value])
Is this the result you expected?
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @dinesharivalaga
As an example, does your sample data look like this?
Maybe you can try this formula.
Measure =
VAR _table=DISTINCT('Table')
RETURN
SUMX(_table,[Value])
Is this the result you expected?
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
25 | |
18 | |
15 | |
9 | |
8 |
User | Count |
---|---|
37 | |
32 | |
18 | |
16 | |
13 |