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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
GusAlmasi
Regular Visitor

Creating a measure

Hi All,

Below is a screenshot of my date table

GusAlmasi_0-1670555094249.png

I am creating the below meassure using it in my visual. However; as you can see it does not return any value. Could you please let me know what the issue is?

 

Thank you

 

Closing WIP =
var SFY = SELECTEDVALUE(dDate[NY])
return
CALCULATE(
        sum(Data[Amount])/1000,
        aLL(dDate),
        ALL(Task[Task_Type]),
        FILTER(dDate,dDate[FY]=SFY),
        FILTER(Accounts,Accounts[Natural_Account]=1832)
        )

 

 

 

Screenshot 2022-12-09 141014.png

 

1 ACCEPTED SOLUTION
v-jianboli-msft
Community Support
Community Support

Hi @GusAlmasi ,

 

Could you tell me if your problem has been solved? If it is, kindly Accept it as the solution. More people will benefit from it. Or if you are still confused about it, please provide me with more details about your table and your problem or share me with your pbix file after removing sensitive data.

 

Refer to:

How to provide sample data in the Power BI Forum

How to Get Your Question Answered Quickly

 

Best Regards,

Jianbo Li

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

2 REPLIES 2
v-jianboli-msft
Community Support
Community Support

Hi @GusAlmasi ,

 

Could you tell me if your problem has been solved? If it is, kindly Accept it as the solution. More people will benefit from it. Or if you are still confused about it, please provide me with more details about your table and your problem or share me with your pbix file after removing sensitive data.

 

Refer to:

How to provide sample data in the Power BI Forum

How to Get Your Question Answered Quickly

 

Best Regards,

Jianbo Li

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

amitchandak
Super User
Super User

@GusAlmasi , do you have any value for Accounts[Natural_Account]=1832 ?

 

 

try like

 

Closing WIP =
var SFY = SELECTEDVALUE(dDate[NY])
return
CALCULATE(
sum(Data[Amount])/1000,
aLL(dDate),
ALL(Task[Task_Type]),
FILTER(dDate,dDate[FY]=SFY),
FILTER(all(Accounts),Accounts[Natural_Account]=1832)
)

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.