Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi All,
I've below dax. Suddenly I'm getting error of "cannot convert value type text to type true/false" and tried lot of methods but its not resolving. Can anyone please guide me here. Request ID is general type rest all columns in Text. Please suggest..
Running Total =
CALCULATE(COUNT('SRQ PP'[Request ID]),
FILTER(ALLEXCEPT('SRQ PP','SRQ PP'[Client Region],'SRQ PP'[Assoc Team],'SRQ PP'[Request Type - TAT],'SRQ PP'[Final Closed Month]),
'SRQ PP'[Rank]<=MAX('SRQ PP'[Rank])))
--------------------------------
Running Total% =
DIVIDE(
CALCULATE(
COUNT('SRQ PP'[Request ID]),
FILTER(ALLEXCEPT('SRQ PP','SRQ PP'[Client Region],'SRQ PP'[Assoc Location],'SRQ PP'[Request Type - TAT],'SRQ PP'[Final Closed Month]),
'SRQ PP'[Rank] <= MAX('SRQ PP'[Rank]))),
CALCULATE(
COUNT('SRQ PP'[Request ID]),
FILTER(ALLEXCEPT('SRQ PP','SRQ PP'[Client Region],'SRQ PP'[Assoc Location],'SRQ PP'[Request Type - TAT]),'SRQ PP'[Final Closed Month])))
Solved! Go to Solution.
@PowerBIBeginer , there is not filter condition here
FILTER(ALLEXCEPT('SRQ PP','SRQ PP'[Client Region],'SRQ PP'[Assoc Location],'SRQ PP'[Request Type - TAT]),'SRQ PP'[Final Closed Month])
what filter you want on month
Hi Amit,
Thanks for reply. I didnt get but filter on month?
@PowerBIBeginer , there is not filter condition here
FILTER(ALLEXCEPT('SRQ PP','SRQ PP'[Client Region],'SRQ PP'[Assoc Location],'SRQ PP'[Request Type - TAT]),'SRQ PP'[Final Closed Month])
what filter you want on month
Hi @amitchandak ,
I am trying to calculate values in % such as every X-axis value is considered 100%, hence using filter in my DAX, but getting the error for cannot convert text type to true/false. I am using following DAX:
Hi Amit, got your point now.. in denominator there should not be filter, its entire count.. Great Thanks..!!
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
104 | |
95 | |
80 | |
67 | |
62 |
User | Count |
---|---|
147 | |
109 | |
107 | |
85 | |
63 |