The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hi All,
I have a scenarior to filter out date range from two columns
FromDate, ToDate
for that, I have created one Measure
usually when you select a slicer, the selcted value becomes in the range of the selected range of date,
so try remove filters with the dax calculation to something like
measure = IF (
SELECTEDVALUE ( 'Table'[SrFromDate] ) <= calculate(MAX ( DimDate[FullDateAlternateKey] ),removefilters(dimdate[date]))
&& SELECTEDVALUE ( 'Table'[SrToDate] ) >= CALCULATE(MIN ( DimDate[FullDateAlternateKey] ),removefilters(dimdate[date])),
1,0
)
Hi @Anonymous
You can refer to this blog .
How to provide sample data in the Power BI Forum - Microsoft Power BI Community
Best Regards,
Community Support Team _ Ailsa Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous
Can you explain "But it does not work fine if i just want to see count of particular row in any other seprate grid." through a sample ? Or you can provide a pbix file to explain your need and expected result .
Best Regards,
Community Support Team _ Ailsa Tao
How to attache PBix file here? not able to see any option,
either import your pbix to one drive or google cloud then click on share and post the link
User | Count |
---|---|
28 | |
12 | |
8 | |
7 | |
5 |
User | Count |
---|---|
35 | |
14 | |
12 | |
9 | |
7 |