Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
leudyston
Helper I
Helper I

Error creating a table from a dax expression

Hello friends, I'm trying to create a table with the expression dax below, in Dax Studio the expression runs perfectly, but in the power bi desktop it presents an unidentified error. I'm putting Pbix to test so they can help me identify the error.

 

This expression ran normally and after the version update it stopped scrolling.

Download Report PBI

 

Expression running on dax studioExpression running on dax studioExpression running on PBI DesktopExpression running on PBI Desktop

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

EVALUATE
SUMMARIZE(
	FILTER(TFExecucaoAtendimento,
		   (TFExecucaoAtendimento[SkAceitabilidadeAtendimento]=15)
		   && (TFExecucaoAtendimento[SkPublicoAlvo]=3
		   	   ||TFExecucaoAtendimento[SkPublicoAlvo]=4
		   	   ||TFExecucaoAtendimento[SkPublicoAlvo]=5)
		   && (TFExecucaoAtendimento[SkSituacaoInstrumento]=2)
		   && (TFExecucaoAtendimento[SkPPA]=201809)
		  ),
	TFExecucaoAtendimento[SkSebrae],
	TFExecucaoAtendimento[CodRealizacaoSiac],
	TFExecucaoAtendimento[SkInstrumento],
	TFExecucaoAtendimento[SkClientePessoaJuridica],
	TFExecucaoAtendimento[SkIniciativa],
	TFExecucaoAtendimento[SkUnidadeOrganizacional_Iniciativa],

	"CodAtendimento",
	VAR CodOrigem = VALUES(TDOrigem[CodOrigem])
	VAR CodRealSiac = FORMAT(VALUES(TFExecucaoAtendimento[CodRealizacaoSiac]),"GENERAL NUMBER")
		RETURN
		CONCATENATE(CodRealSiac,CodOrigem)

)

 

Best Regards

Leudyston Dantas

 

1 ACCEPTED SOLUTION
v-jiascu-msft
Microsoft Employee
Microsoft Employee

Hi Leudyston,

 

I have reported t this issue to the Product Team: CRI 86194073. The workaround is replacing the VALUES with other functions like MIN, MAX, SELECTEDVALUE. 

VAR CodOrigem = values(TDOrigem[CodOrigem])

BTW, Do not post sensitive data here.

 

 

Best Regards,
Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
v-jiascu-msft
Microsoft Employee
Microsoft Employee

Hi Leudyston,

 

This issue has been fixed. Thank you for reporting it.

 

 

Best Regards,
Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
v-jiascu-msft
Microsoft Employee
Microsoft Employee

Hi Leudyston,

 

I have reported t this issue to the Product Team: CRI 86194073. The workaround is replacing the VALUES with other functions like MIN, MAX, SELECTEDVALUE. 

VAR CodOrigem = values(TDOrigem[CodOrigem])

BTW, Do not post sensitive data here.

 

 

Best Regards,
Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi Dale, thanks for your help.

 

The PBIX file is no longer available for download.

 

Best Regards,

Leudyston

Hi Leudyston,

 

The fix is expected in the November release. Thanks for your patience.

Best Regards,
Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.