March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
I have a column named pp having numeric values 0 till 12. This pp column is acting as a slicer. Now I want to create the dynamic column let's say if I selected 5 from pp slicer then dynamic column should contain values 0,1,2,3,4,5. Basically the dynamic column will contain values from 0 till the selected value .
Thnaks & Regards
sd22
Solved! Go to Solution.
hi @sd22
it hides some complexity,
1) supposing you have a Table1 like:
2) try to create another table2 with pp2 column, exactly the same value, but do not relate them.
3) write a measure like:
measure =
VAR _value2 = SELECTEDVALUE(Table2[pp2])
VAR _value1 = MAX(Table1[pp])
RETURN
IF( _value1<=_value2, 1, 0)
4) plot a slicer with table2[PP] and a table visual with table1[PP]. Choose not summarize for the table visual. Feed the measure to the filter pane of the table visual and choose 1. it worked like:
Hi FreemanZ / andhiii079845 ,
Thankyou for your swift response.
My actual requirement is like . Here is my data set :
Now I wan to create two table visuals like For the Current Month & Running Total. On top of it I have two slicers FY & Posting Period.
My requirement is If I select 2021 FY and Posting Period 004 then in Current Month Table I should show sales according to FY =2021 && Posting Period = 004.
For Running Total Table I should see the data where Fy =2021 but Posting Period should show cummulative data of sales from Posting Period = 0+ Posting Period = 1+ Posting Period = 2+ Posting Period = 3+ Posting Period = 4.
Basically In running Total table I should see the cumulative data based on the slicer selection of posting period. If I have selected Posting Period as 002 then In running total table I should be able to see total sales for fy 2021 where posting period = 0,1,2.
Thanks & Regards
sd22
This is a completey new question right? -> perhaps a new topic?
Proud to be a Super User!
Are you able to upload the .pbix with sample data? So I do not have to copy it for my own.
Proud to be a Super User!
hi @sd22
it hides some complexity,
1) supposing you have a Table1 like:
2) try to create another table2 with pp2 column, exactly the same value, but do not relate them.
3) write a measure like:
measure =
VAR _value2 = SELECTEDVALUE(Table2[pp2])
VAR _value1 = MAX(Table1[pp])
RETURN
IF( _value1<=_value2, 1, 0)
4) plot a slicer with table2[PP] and a table visual with table1[PP]. Choose not summarize for the table visual. Feed the measure to the filter pane of the table visual and choose 1. it worked like:
Nice a very simlar way to solve it 🙂
Proud to be a Super User!
Hi,
i create a second table "slicer" with the pp values and use it in the slicer. I create a measure with following code
Measure =
VAR _selectvalue = CALCULATE(SELECTEDVALUE(Slicer[pp]))
VAR _pp = sumx(FILTER('Table','Table'[pp]<=_selectvalue),'Table'[pp])
RETURN _pp
To verfiy the result:
Than use the measure as a filter:
There has to be NO relationship between both tables.
Proud to be a Super User!
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
23 | |
15 | |
12 | |
9 | |
8 |
User | Count |
---|---|
41 | |
32 | |
29 | |
12 | |
12 |