Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register 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.
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
21 | |
20 | |
19 | |
13 | |
12 |
User | Count |
---|---|
42 | |
28 | |
23 | |
22 | |
22 |