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

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.

Reply
NewPBIe
Helper II
Helper II

PBI Diagram that shows how many contracts where stipulated and terminated on a fiscal year

I want to show in a diagram in PBI how many contracts where stipulated for each fiscal year and also how many where closed in that year, without regarding of when the closed where stipulated. 

 

What I get is only the (right) count of the new contracts pro fiscal year but for the closed contract it only counts among the contracts that have been stipulated in a given year the contracts that have been closed. 

For example: 

NewPBIe_2-1680167749085.png

 

The diagram should be like this: 

NewPBIe_2-1680167039070.png

 

My diagram counts in the given fiscal years how many of the contracts stipulated have been ever closed and shows them in the fiscal year of the stipulation, not of the closing:

 

NewPBIe_3-1680167382962.png

 

What am I doing wrong? Thank you in advance!

 

***************************

Technical Informations: 

Relationship Cardinality (automatically recognized):

(Table A) * < (Table B) 1 on TableA(Start) (active)

(Table A) * < (Table B) 1 on TableA(End) (inactive)

 

 

Table A

NewPBIe_0-1680167708686.png

 

 

Table B

NewPBIe_1-1680167724700.png

 

 

1 REPLY 1
lbendlin
Super User
Super User

Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-...

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.