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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.