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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
harshagraj
Post Partisan
Post Partisan

Dynamic measure for Fiscal column

HEllo all, i have two tables 'dataset' is main and 'Fiscal calendar' and both are joined on Joining Date and Fiscal Date.

I have below measure working for current quarter(April 2023 to June 2023) and now i want to modify this measure to adapt for other quarters.In Fiscal calendar i have a column FQFY(Q1 2023, Q2 2023 etc). Please help me to modify the below calculation to adapt for FQFY
Employees =
CALCULATE(
COUNT('dataset-2023-06-04 16_'[EmployeeNo]),
FILTER(
'dataset-2023-06-04 16_',
AND(
'dataset-2023-06-04 16_'[Joining Date] <= EOMONTH(TODAY(), -3),
OR(
ISBLANK('dataset-2023-06-04 16_'[Exit Date]),
'dataset-2023-06-04 16_'[Exit Date] > EOMONTH(TODAY(), -3)
)
)
))

@amitchandak 

1 ACCEPTED SOLUTION

Hi @Anonymous thank you but i found out the solution by using a disconnected table.

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @harshagraj ,

Could you please provide some raw data in your table  'dataset-2023-06-04 16_' and 'Fiscal calendar' (exclude sensitive data) with Text format and your expected result with backend logic and special examples? It would be helpful to find out the solution. You can refer the following link to share the required info:

How to provide sample data in the Power BI Forum

 

And It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.

How to upload PBI in Community

Best Regards

Hi @Anonymous thank you but i found out the solution by using a disconnected table.

Anonymous
Not applicable

Hi @harshagraj ,

It's glad to hear that your problem has been resolved. And thanks for sharing your solution here. Could you please mark your post as Answered? It will help the others in the community find the solution easily if they face the same problem as yours.  Thank you.

Best Regards

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.