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
Anonymous
Not applicable

The data for some years dissapeared.

I have 3 tables: Date, contracts, and suppliers.

 

Relations.

date[date] O > M contract[signDate]

suppliers[id] O > M contract[supId]

 

and I wrote this measure

IF(ISFILTERED('suppliers'[name ]), Calculate(sum(contract[contruct_amount])), CALCULATE(sum(contract[contruct_amount])),  FILTER('suppliers', [id]= "070440006322")))

 the measureis working, but data for some years dissapeared.

manap_0-1651056157330.png

In the page no filter has been used

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

 

It seems that your measure is wrong

Eyelyn9_0-1651560443327.png

The ) is in the wrong place, please modify:

Measure = IF(ISFILTERED('suppliers'[name]), Calculate(sum(contract[contruct_amount])), CALCULATE(sum(contract[contruct_amount]),FILTER('suppliers', [id]= "070440006322")))

 

Or if you are still confused about it, please provide me with more details about your table and your expected outputs or share me with your pbix file after removing sensitive data.

Refer to:

How to Get Your Question Answered Quickly

How to provide sample data in the Power BI Forum

 

 

Best Regards,
Eyelyn Qin
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

4 REPLIES 4
Anonymous
Not applicable

Hi @Anonymous ,

 

Any updates?

 

Best Regards,
Eyelyn Qin

Anonymous
Not applicable

Hi @Anonymous ,

 

It seems that your measure is wrong

Eyelyn9_0-1651560443327.png

The ) is in the wrong place, please modify:

Measure = IF(ISFILTERED('suppliers'[name]), Calculate(sum(contract[contruct_amount])), CALCULATE(sum(contract[contruct_amount]),FILTER('suppliers', [id]= "070440006322")))

 

Or if you are still confused about it, please provide me with more details about your table and your expected outputs or share me with your pbix file after removing sensitive data.

Refer to:

How to Get Your Question Answered Quickly

How to provide sample data in the Power BI Forum

 

 

Best Regards,
Eyelyn Qin
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

@Anonymous , do you have data for this id - [id]= "070440006322"  in your table ?

 


Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

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
Anonymous
Not applicable

yes, I have data for the [id]= "070440006322"

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.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

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

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.