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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Measure not returning value at row level and returning only totals

Hello,

I am trying to build a visual that will give me No of Leads , Enquiries and Deals by Channel.

But it only returning total but nothing at row level for each channel. I need to find all the deals that have Lead Create Date and Sale Confirm Date from the Date Range I select from the Date slicer. 

 ( Say If I choose May 2024 ,  I need to get count of all leads created in May 2024   ,  and how many these leads converted into deals in May 2024).  For Deals , I need to look for Sale Confirm Date

Vineetadahiya12_2-1727456017689.png

Measure Definition

Deals = 
VAR MinDt =   MIN ( 'Date'[Date Key] )
VAR MaxDt =   MAX ( 'Date'[Date Key] )
RETURN
    CALCULATE (  SUM('Fact1'[KPI Deals]),
    FILTER(
KEEPFILTERS(VALUES('Fact1 Sales Funnel'[Lead Create Date Key])),
AND(
'Fact1'[Lead Create Date Key] >= MIN ( 'Date'[Date Key] ) ,
'Fact1'[Lead Create Date Key] <= MAX ( 'Date'[Date Key] )
)),
FILTER(
KEEPFILTERS(VALUES('Fact1'[Sale Confirmed Date Key])),
AND(
'Fact1'[Sale Confirm Date Key] >=  MIN ( 'Date'[Date Key] ) ,
'Fact1'[Sale Confirm Date Key] <= MAX ( 'Date'[Date Key] )
)))

Model View:

Vineetadahiya12_0-1727455187741.png

Active Relationship : Fact1.Lead Create Date Key --- Date.Date Key

InActive Relationship : Fact1.Enquiry Create Date  -- Date.Date Key , Fact1.Sale Confirm Date -- Date.Date Key

 

I need experts help to figure out what I am missing here and what can be done to fix this.

I have multiple dimension tables those are linked to both these fact table and need to create several views using dimensions from different tables.

 

Regards

Vineeta

 

1 REPLY 1
Ritaf1983
Super User
Super User

Hi @Anonymous 

please share a pbix or some dummy data that keep the raw data structure with expected results? It should help us clarify your scenario and test to coding formula.

How to Get Your Question Answered Quickly  

 

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 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.

Users online (4,808)