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
reggiete
Frequent Visitor

Need Help With Dax Calculation

 

 

Hello All,

 

I am needing help to write a dax statment that will take the January Funded total (337) /  total (1,876). Same applies for February funded total 918/1,876.

 

2020-01-15 17_58_04-Danielle M Locked Trend Report - Power BI Desktop.png

3 REPLIES 3
Anonymous
Not applicable

HI @reggiete ,

Can you please share some dummy data with the same data structure for test? It is hard to clear your table structure and code formula based on a snapshot of matrix visual.

How to Get Your Question Answered Quickly 

Regards,

Xiaoxin Sheng

reggiete
Frequent Visitor

in the above matrix, i have the following measure in the values area

 

Locked = CALCULATE(COUNT(vw_PowerBIMainDataset[LoanNumber]),USERELATIONSHIP(vw_PowerBIMainDataset[LockDateCurrent],vw_PowerBICalendar[dtDate]))

all dates or cross filter should help you

 

CALCULATE(COUNT(vw_PowerBIMainDataset[LoanNumber]),USERELATIONSHIP(vw_PowerBIMainDataset[LockDateCurrent],vw_PowerBICalendar[dtDate]),all(vw_PowerBIMainDataset[LockDateCurrent])))

or
CALCULATE(COUNT(vw_PowerBIMainDataset[LoanNumber]),crossfilter(vw_PowerBIMainDataset[LockDateCurrent],vw_PowerBICalendar[dtDate])))

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
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.