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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
sg919
Frequent Visitor

The true/false expression does not specify a column

Hello - novice here.  Trying to fix an the "true/false" expression error from a query I inherited.  I am using Power BI Desktop, Version: 2.105.664.0 64-bit (May 2022).  This query connects to our database server.  I did read through the other similar posts, however not knowledgeable enough to attempt to modify the query.  Appreciate your assistance.

 

 

 

 

Sum Avg Calls/AE/Week per DSM_Name = 
CALCULATE (
    KEEPFILTERS ( VALUES ( 'Current Territory Alignments'[DSM_Name] ) ),
    DIVIDE (
        DIVIDE (
            DISTINCTCOUNT ( 'Call Activity'[Call_ID] ),
            DISTINCTCOUNT ( 'Call Activity'[Call_Dt (bins)] )
        ),
        DISTINCTCOUNT ( 'Call Activity'[Employee_ID] )
    )
)

 

 

 

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @sg919,

You can try to use the following measure formula if it is suitable for your requirement:

formula =
CALCULATE (
    DISTINCTCOUNT ( 'Call Activity'[Call_ID] )
        / DISTINCTCOUNT ( 'Call Activity'[Call_Dt (bins)] )
        / DISTINCTCOUNT ( 'Call Activity'[Employee_ID] ),
    ALLSELECTED ( 'Call Activity' ),
    VALUES ( 'Current Territory Alignments'[DSM_Name] )
)

Regards,

Xiaoxin Sheng

View solution in original post

5 REPLIES 5
rocky09
Solution Sage
Solution Sage

I suspect the data type of the column might be auto-selected as True/False. Check once.

sg919
Frequent Visitor

Not sure how to check.  When I click on the column here's what I see.
snapshot2.jpg

ribisht17
Super User
Super User

Here's a sample of the data

DSM NameEmployee_IDCall_IDCall_Dt (bins)
Manager 112345672715164974/17/2022
Manager 112345672714391674/24/2022
Manager 112345672721730955/1/2022
Manager 112345672721730595/1/2022
Manager 112345672721731435/1/2022
Manager 17586972705744444/17/2022
Manager 17586972707132274/17/2022
Manager 17586972702245444/17/2022
Manager 197364552698567994/24/2022
Manager 197364552714100064/24/2022
Manager 197364552711500564/24/2022
Manager 197364552711267894/24/2022
Manager 197364552710393784/24/2022
Manager 197364552715692825/1/2022
Manager 197364552715722085/1/2022
Manager 197364552698222445/1/2022
Manager 2646477482704424484/17/2022
Manager 2646477482707415444/17/2022
Manager 2646477482703445294/17/2022
Manager 2646477482707398384/17/2022
Manager 2646477482707390364/17/2022
Manager 2646477482713307134/24/2022
Manager 2646477482718067605/1/2022
Manager 2646477482715975295/1/2022
Manager 2646477482720925865/1/2022
Manager 26454232701728244/17/2022
Manager 26454232702376184/17/2022
Manager 26454232709022614/24/2022
Manager 26454232720776915/1/2022
Manager 26454232719478255/1/2022
Manager 26454232721016055/1/2022
Manager 26454232715493735/1/2022
Anonymous
Not applicable

Hi @sg919,

You can try to use the following measure formula if it is suitable for your requirement:

formula =
CALCULATE (
    DISTINCTCOUNT ( 'Call Activity'[Call_ID] )
        / DISTINCTCOUNT ( 'Call Activity'[Call_Dt (bins)] )
        / DISTINCTCOUNT ( 'Call Activity'[Employee_ID] ),
    ALLSELECTED ( 'Call Activity' ),
    VALUES ( 'Current Territory Alignments'[DSM_Name] )
)

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors