Quantcast
Channel: Desktop topics
Viewing all articles
Browse latest Browse all 213819

Calculation error SUMX in table

$
0
0

Hello all,

 

 

I want to create a measure to calculate the Current Ticket  based on the following code:

 

Current Ticket = var currentDate = MAX(OWK_CI_INCIDENTS[IDT_STARTDATUM].[Date]) return SUMX(FILTER(ALL(OWK_CI_INCIDENTS);MONTH(OWK_CI_INCIDENTS[IDT_STARTDATUM].[Date])=MONTH(currentDate)&&YEAR(OWK_CI_INCIDENTS[IDT_STARTDATUM].[Date])=YEAR(currentDate));[REMEDYTICKET_NUMBER])

 

Unfortunat;y i have the following error message :

 

 

2017-02-09 11_41_49-Orakel_performance_v1 - Power BI Desktop.png

 

 

The data type for OWK_CI_INCIDENTS[IDT_STARTDATUM].[Date])  is Date   and for REMEDYTICKET_NUMBER is Text.

 

 

2017-02-09 11_45_09-Orakel_performance_v1 - Query Editor.png

 

 

Thanks for your help!

 


Viewing all articles
Browse latest Browse all 213819

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>