User Profile
answeriver
Helper IV
Joined 7 years ago
User Widgets
Contributions
- 15KViews0likes0Comments
Re: Error cannot convert value of type text to type true false
Thank you Pragati11. My fault with ). Actualy i need to count count of salepoint code devide on total salepoint cod with filters ALLEXCEPT. Measure from you is working without errors, but filter "type contract" whatever don't showing needs results. Measure 5 = CALCULATE(DISTINCTCOUNT(REPORT_IMS[SALEPOINT CODE]))/CALCULATE(DISTINCTCOUNT(REPORT_IMS[SALEPOINT CODE]),ALLEXCEPT(REPORT_IMS,'REPORT_IMS'[CITY],REPORT_IMS[REGION (groups)],REPORT_IMS[VISIT MONTH],REPORT_IMS[VISIT YEAR],REPORT_IMS[UNIVERSE]),ALLEXCEPT(Attributes,Attributes[Type of Contract])) Measure 7 = CALCULATE(DISTINCTCOUNT(REPORT_IMS[SALEPOINT CODE])) Measure 8 = CALCULATE(DISTINCTCOUNT(REPORT_IMS[SALEPOINT CODE]),ALLEXCEPT(REPORT_IMS,'REPORT_IMS'[CITY],REPORT_IMS[REGION (groups)],REPORT_IMS[VISIT MONTH],REPORT_IMS[VISIT YEAR],REPORT_IMS[UNIVERSE]),ALLEXCEPT(Attributes,Attributes[Type of Contract]))4.2KViews0likes0CommentsError cannot convert value of type text to type true false
hello all, Can yo please explain logic of error. Measure is: = CALCULATE(DISTINCTCOUNT(REPORT_IMS[SALEPOINT CODE]))/CALCULATE(DISTINCTCOUNT(REPORT_IMS[SALEPOINT CODE]),ALLEXCEPT(REPORT_IMS,'REPORT_IMS'[CITY],REPORT_IMS[REGION (groups)],REPORT_IMS[VISIT MONTH]),REPORT_IMS[VISIT YEAR],'Attributes','Attributes'[type contract]) So i have two table/ Relationship between its salepoint code. First table report ims it's sales and second table is Attributes. My measure need to calculate distribution of some product from all universe (reports IMS), from one of type contract and other. But when i add in the measure 'Attributes','Attributes'[type contract] i see the erorrSolved4.3KViews0likes4Commentsfilter in matrix affects to the measure
Hello, Please help me in measure dax. I have the dax: CALCULATE(DISTINCTCOUNT('Dates'[Date]),'Dates'[WEEKDAY]<6,'Dates'[MONTH]=MONTH(TODAY()),'Dates'[Date]<TODAY()-1,Dates[YEAR]=2022) which calculate count of passed working days. it shows 6. But when i use this formula in a matrix table with others measures, they filter my measure, but i don't need it.Solved617Views0likes2Comments- 1.6KViews0likes1Comment
Data Privacy
Microsoft Fabric Community and Privacy
To learn more about how we manage your data, please review the Microsoft Fabric Community Data Privacy guide.