Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount 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, @Anonymous
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, @Anonymous
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.